Roo/bootstrap/DocumentManager.js
authoredward <edward@roojs.com>
Tue, 16 Feb 2016 03:59:30 +0000 (11:59 +0800)
committeredward <edward@roojs.com>
Tue, 16 Feb 2016 03:59:30 +0000 (11:59 +0800)
Roo/bootstrap/DocumentManager.js

index 8efa7bb..3fc5a69 100644 (file)
 Roo.bootstrap.DocumentManager = function(config){
     Roo.bootstrap.DocumentManager.superclass.constructor.call(this, config);
     
-    
+    this.addEvents({
+        /**
+         * @event beforeselectfile
+         * Fire before select file
+         * @param {Roo.bootstrap.UploadCropbox} this
+         */
+        "onselectfile" : true
+    });
 };
 
 Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component,  {