Roo/bootstrap/DocumentManager.js
authoredward <edward@roojs.com>
Thu, 3 Mar 2016 06:00:01 +0000 (14:00 +0800)
committeredward <edward@roojs.com>
Thu, 3 Mar 2016 06:00:01 +0000 (14:00 +0800)
Roo/bootstrap/DocumentManager.js

index 000a02d..5d4f62b 100644 (file)
@@ -574,11 +574,15 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component,  {
 
         var image = previewEl.select('img', true).first();
 
-        image.addEventListener("load", function(){ _this.onLoadCanvas(); });
+        image.addEventListener("load", function(){ _this.onPreviewLoad(); });
         
         image.on('click', this.onClick, this, file);
         
         return file;
-    }
+    },
     
+    onPreviewLoad : function()
+    {
+        
+    }
 });