Pman.Download.js
[Pman.Core] / Pman.Download.js
index 0045ca8..a0b28dd 100644 (file)
@@ -131,9 +131,9 @@ Pman.Download = function(cfg)
     req.onload = function( ev )
     {
         if (req.status == 200) {
-            _t.success ? _t.sucess() : '';
+            _t.success ? _t.success(ev) : '';
         } else {
-            _t.failure ? _t.failure() : '';
+            _t.failure ? _t.failure(ev) : '';
         }
         
     }