Merged in julceslau/processmaker (pull request #710)
BUG 11862 Caja de texto y boton de carga de imagenes se pierde al minimizar el popup SOLVED
This commit is contained in:
@@ -67,14 +67,14 @@ Ext.onReady(function() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PMExt.notify( _('ID_NOTICE'), _('ID_YOU_ARE_NOT_CAN_SELECT_PHOTO'));
|
PMExt.notify( _('ID_NOTICE'), _('ID_YOU_ARE_NOT_CAN_SELECT_PHOTO'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PMExt.notify( _('ID_NOTICE'), _('ID_SELECT_AN_IMAGE'));
|
PMExt.notify( _('ID_NOTICE'), _('ID_SELECT_AN_IMAGE'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
tbar.add({
|
tbar.add({
|
||||||
text : _('ID_DELETE'),
|
text : _('ID_DELETE'),
|
||||||
icon : '/images/delete-16x16.gif',
|
icon : '/images/delete-16x16.gif',
|
||||||
@@ -99,7 +99,7 @@ Ext.onReady(function() {
|
|||||||
if (oResponse.success == true) {
|
if (oResponse.success == true) {
|
||||||
Ext.Msg.alert(_('ID_LOGO'), _('ID_SELECTED_IMAGE_IS_LOGO'));
|
Ext.Msg.alert(_('ID_LOGO'), _('ID_SELECTED_IMAGE_IS_LOGO'));
|
||||||
isCurrentLogo = true;
|
isCurrentLogo = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(isCurrentLogo == false) {
|
if(isCurrentLogo == false) {
|
||||||
@@ -118,7 +118,7 @@ Ext.onReady(function() {
|
|||||||
oResponse = Ext.decode( response.responseText );
|
oResponse = Ext.decode( response.responseText );
|
||||||
if (oResponse.success == true) {
|
if (oResponse.success == true) {
|
||||||
PMExt.notify( _('ID_NOTICE'), _('ID_SELECTED_IMAGE_DELETED'));
|
PMExt.notify( _('ID_NOTICE'), _('ID_SELECTED_IMAGE_DELETED'));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PMExt.notify( _('ID_NOTICE'), _('ID_SELECTED_IMAGE_IS_LOGO'));
|
PMExt.notify( _('ID_NOTICE'), _('ID_SELECTED_IMAGE_IS_LOGO'));
|
||||||
}
|
}
|
||||||
@@ -134,7 +134,7 @@ Ext.onReady(function() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PMExt.notify( _('ID_NOTICE'), _('ID_YOU_ARE_NOT_CAN_SELECT_PHOTO'));
|
PMExt.notify( _('ID_NOTICE'), _('ID_YOU_ARE_NOT_CAN_SELECT_PHOTO'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PMExt.notify( _('ID_NOTICE'), _('ID_SELECT_AN_IMAGE'));
|
PMExt.notify( _('ID_NOTICE'), _('ID_SELECT_AN_IMAGE'));
|
||||||
@@ -145,7 +145,7 @@ Ext.onReady(function() {
|
|||||||
tbar.add({
|
tbar.add({
|
||||||
text : _('ID_RESTORE_DEFAULT'),
|
text : _('ID_RESTORE_DEFAULT'),
|
||||||
icon : '/images/icon-pmlogo-15x15.png',
|
icon : '/images/icon-pmlogo-15x15.png',
|
||||||
handler : function() {
|
handler : function() {
|
||||||
var records = datav.getSelectedRecords();
|
var records = datav.getSelectedRecords();
|
||||||
var myMask = new Ext.LoadMask(Ext.getBody(), {msg : _('ID_LOADING')});
|
var myMask = new Ext.LoadMask(Ext.getBody(), {msg : _('ID_LOADING')});
|
||||||
myMask.show();
|
myMask.show();
|
||||||
@@ -183,7 +183,7 @@ Ext.onReady(function() {
|
|||||||
height : 800,
|
height : 800,
|
||||||
multiSelect : true,
|
multiSelect : true,
|
||||||
autoScroll: true,
|
autoScroll: true,
|
||||||
overClass : 'x-view-over',
|
overClass : 'x-view-over',
|
||||||
itemSelector: 'div.thumb-wrap',
|
itemSelector: 'div.thumb-wrap',
|
||||||
emptyText : _('ID_NO_IMAGES_TO_DISPLAY'),
|
emptyText : _('ID_NO_IMAGES_TO_DISPLAY'),
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ Ext.onReady(function() {
|
|||||||
panelLeft.setTitle(_('PHOTO_GALLERY') + '(' + l + ' ' + _('ID_IMAGE') + s + ' ' + _('ID_SELECTED') + ')');
|
panelLeft.setTitle(_('PHOTO_GALLERY') + '(' + l + ' ' + _('ID_IMAGE') + s + ' ' + _('ID_SELECTED') + ')');
|
||||||
if (nodes.length > 0) {
|
if (nodes.length > 0) {
|
||||||
Ext.getCmp('tbarAply').enable();
|
Ext.getCmp('tbarAply').enable();
|
||||||
Ext.getCmp('tbarDelete').enable();
|
Ext.getCmp('tbarDelete').enable();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Ext.getCmp('tbarAply').disable();
|
Ext.getCmp('tbarAply').disable();
|
||||||
@@ -209,7 +209,7 @@ Ext.onReady(function() {
|
|||||||
// fn : function() {
|
// fn : function() {
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -303,6 +303,8 @@ Ext.onReady(function() {
|
|||||||
autoScroll : true,
|
autoScroll : true,
|
||||||
closeAction : 'hide',
|
closeAction : 'hide',
|
||||||
maximizable : false,
|
maximizable : false,
|
||||||
|
resizable : false,
|
||||||
|
draggable : false,
|
||||||
items : [panelRightTop]
|
items : [panelRightTop]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user