This commit is contained in:
Roly Rudy Gutierrez Pinto
2018-07-17 11:35:47 -04:00
parent 1b9126607f
commit 30480de5be

View File

@@ -245,6 +245,9 @@ Ext.onReady(function () {
buttonText: _('ID_SELECT_FILE'),
name: 'img',
validator: function (filePath) {
if (uploadWin.isVisible() === false) {
return true;
}
var flag, btn;
btn = Ext.getCmp('btnUpload');
btn.disable();
@@ -295,9 +298,9 @@ Ext.onReady(function () {
PMExt.notify(_('ID_SUCCESS'), messageError);
}
uploadWin.hide();
panelRightTop.getForm().reset();
store.load();
uploadWin.hide();
}
});
}