Roo/bootstrap/DocumentManager.js
authoredward <edward@roojs.com>
Tue, 16 Feb 2016 05:12:51 +0000 (13:12 +0800)
committeredward <edward@roojs.com>
Tue, 16 Feb 2016 05:12:51 +0000 (13:12 +0800)
Roo/bootstrap/DocumentManager.js

index 4bf0dfb..71a72c6 100644 (file)
@@ -98,8 +98,10 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component,  {
         }
         
         Roo.each(this.selector.dom.files, function(file){
-            Roo.log(file);
-        });
+            if(this.fireEvent('inspect', this, file) == false){
+                return;
+            }
+        }, this);
         
         
     }