MTrackWeb/templates/images/js/mtrack2.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 28 Apr 2011 15:45:33 +0000 (23:45 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 28 Apr 2011 15:45:33 +0000 (23:45 +0800)
MTrackWeb/templates/images/js/mtrack2.js

index 97478ee..00f6b00 100644 (file)
@@ -36,7 +36,7 @@ MTrack = {
         // run the main registry
         MTrack.registry.forEach(function(cfg) {
             var el = Roo.get(toWhat).select(cfg.selector,true)
-            el[cfg.method].call(el, cfg.event ? [ event, args ] : [ args ] );  
+            el[cfg.method].apply(el, cfg.event ? [ event, args ] : [ args ] );  
         });
         // any other weird crap goes here.