diff genajax.js @ 1081:5f48cb05bfff

Fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Jan 2017 01:03:01 +0200
parents 08900352f420
children
line wrap: on
line diff
--- a/genajax.js	Wed Jan 25 00:47:50 2017 +0200
+++ b/genajax.js	Wed Jan 25 01:03:01 2017 +0200
@@ -359,12 +359,12 @@
         case 200:
           if (fileCallback)
           {
-            var tid = setTimeout(function(qtid)
+            var tid = setTimeout(function()
             {
-              jsRemoveUploadCB(qtid);
+              jsRemoveUploadCB(tid);
               setTimeout(fileCallback, 10);
               //jsTitleMessageBox("File upload", req.responseText);
-            }, 10, qtid);
+            }, 10);
             jsUploadCBS.push(tid);
           }
           break;