BUG 8742 Migrate Processmaker Heartbeat to ExtJS SOLVED.
- Cuando se realiza una instalacion de cero de esta version, en el navegador IE9 no se visualiza la opcion Heartbeat, lo cual hace que exista un mal funcionamiento del mismo. - Adjustment extJS javascript coding for iExplorer problem.
This commit is contained in:
@@ -11,8 +11,13 @@ Ext.onReady(function() {
|
|||||||
hideLabel : true,
|
hideLabel : true,
|
||||||
id : 'ch_ii',
|
id : 'ch_ii',
|
||||||
style : 'margin-top:15px',
|
style : 'margin-top:15px',
|
||||||
boxLabel : '<b>' + _('ID_ENABLE_HEART_BEAT') + '</b>'
|
boxLabel : '<b>' + _('ID_ENABLE_HEART_BEAT') + '</b>',
|
||||||
|
listeners : {
|
||||||
|
check : function(){
|
||||||
|
Ext.getCmp('btn_save').enable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype : 'box',
|
xtype : 'box',
|
||||||
@@ -22,10 +27,12 @@ Ext.onReady(function() {
|
|||||||
+ '" target="_blank" align="center">' + _('ID_MORE_INFORMATION') + '</a>.'
|
+ '" target="_blank" align="center">' + _('ID_MORE_INFORMATION') + '</a>.'
|
||||||
},
|
},
|
||||||
style : 'margin-left:20px'
|
style : 'margin-left:20px'
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
buttons : [{
|
buttons : [{
|
||||||
|
id : 'btn_save',
|
||||||
text : _('ID_SAVE'),
|
text : _('ID_SAVE'),
|
||||||
|
disabled: true,
|
||||||
handler : saveOption
|
handler : saveOption
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
@@ -54,7 +61,9 @@ Ext.onReady(function() {
|
|||||||
frm.render(document.body);
|
frm.render(document.body);
|
||||||
});
|
});
|
||||||
|
|
||||||
function saveOption() {
|
function saveOption()
|
||||||
|
{
|
||||||
|
Ext.getCmp('btn_save').disable();
|
||||||
Ext.getCmp('frmHeart').getForm().submit( {
|
Ext.getCmp('frmHeart').getForm().submit( {
|
||||||
url : 'processHeartBeatAjax?action=saveOption',
|
url : 'processHeartBeatAjax?action=saveOption',
|
||||||
waitMsg : _('ID_SAVING_PROCESS'),
|
waitMsg : _('ID_SAVING_PROCESS'),
|
||||||
|
|||||||
Reference in New Issue
Block a user