diff ajax.js @ 1067:82ecea33c477

Various cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 16:43:58 +0200
parents ffacd904fd1f
children
line wrap: on
line diff
--- a/ajax.js	Tue Jan 24 13:13:48 2017 +0200
+++ b/ajax.js	Tue Jan 24 16:43:58 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;