Roo/bootstrap/DocumentManager.js
authoredward <edward@roojs.com>
Thu, 26 Oct 2017 10:21:54 +0000 (18:21 +0800)
committeredward <edward@roojs.com>
Thu, 26 Oct 2017 10:21:54 +0000 (18:21 +0800)
Roo/bootstrap/DocumentManager.js

index dae5d1a..ca93659 100644 (file)
@@ -530,6 +530,8 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component,  {
     
     uploadStart : function(file, crop)
     {
+        Roo.log('call upload start????');
+        
         this.xhr = new XMLHttpRequest();
         
         if(typeof(file.id) != 'undefined' && file.id * 1 > 0){
@@ -595,6 +597,8 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component,  {
             manually : false
         };
         
+        Roo.log('call prepare????');
+        
         if(this.fireEvent('prepare', this, formData, options) != false){
             
             if(options.manually){