diff ajax.js @ 1068:50d005dd22d8

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 16:44:30 +0200
parents 82ecea33c477
children
line wrap: on
line diff
--- a/ajax.js	Tue Jan 24 15:49:54 2017 +0200
+++ b/ajax.js	Tue Jan 24 16:44:30 2017 +0200
@@ -345,12 +345,12 @@
         case 200:
           if (fileCallback)
           {
-            var tid = setTimeout(function()
+            var tid = setTimeout(function(qtid)
             {
-              jsRemoveUploadCB(tid);
+              jsRemoveUploadCB(qtid);
               setTimeout(fileCallback, 10);
               //jsTitleMessageBox("File upload", req.responseText);
-            }, 10);
+            }, 10, qtid);
             jsUploadCBS.push(tid);
           }
           break;