Commit 1d2a660a authored by nanahira's avatar nanahira

fix

parent 9265d38c
...@@ -253,7 +253,7 @@ function upload_decks() { ...@@ -253,7 +253,7 @@ function upload_decks() {
formData.append('upload['+i+']', filesel.files[i]); formData.append('upload['+i+']', filesel.files[i]);
} }
$.ajax({ $.ajax({
url: "http://"+ip+":"+port+"/api/upload_decks?username="+username+"password="+password, url: "http://"+ip+":"+port+"/api/upload_decks?username="+username+"&password="+password,
type: 'POST', type: 'POST',
cache: false, cache: false,
data: formData, data: formData,
...@@ -281,4 +281,4 @@ function upload_decks() { ...@@ -281,4 +281,4 @@ function upload_decks() {
<script src="http://s4.cnzz.com/z_stat.php?id=1255875151&web_id=1255875151"></script> <script src="http://s4.cnzz.com/z_stat.php?id=1255875151&web_id=1255875151"></script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment