roojs-core.js
[roojs1] / roojs-debug.js
index 66a6493..c60e522 100644 (file)
@@ -68496,12 +68496,13 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
         var _this = this;
 
         if(this.imageEl.OriginWidth < this.minWidth) {
-            
+            console.log("BEFORESHOW");
             Roo.Msg.show({
                 title: 'Error',
                 msg: "Image width should be at least 720",
                 buttons: {ok : true},
                 fn: function(res) {
+                    _this.selectorEl.dom.value = '';
                     _this.selectorEl.dom.click();
                 }
             });