Pman.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 9 Nov 2010 07:06:29 +0000 (15:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 9 Nov 2010 07:06:29 +0000 (15:06 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 178a94b..3f875e1 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -860,13 +860,13 @@ Pman = new Roo.Document(
         {
             if ((cur +1) > sbits.length) {
                 Roo.log("CALLING COMPLETED: " + complete);
-                cb.call(complete);
+                cb(complete);
                 return;
             }
             Roo.log("SEND : " + sbits[cur]);
             Pman.gtranslate( sbits[cur], src, dest, function(result) {
                 if (typeof(result) == 'object') {
-                    cb.call(result);
+                    cb(result);
                     return;
                 }
                 complete += complete.length ? ' ' : '';