From cec6a1c4b65d4c7bcd18794affda339c7d1ffe30 Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Thu, 26 Apr 2012 11:56:45 -0400 Subject: [PATCH] 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. --- .../templates/setup/processHeartBeatConfig.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/workflow/engine/templates/setup/processHeartBeatConfig.js b/workflow/engine/templates/setup/processHeartBeatConfig.js index e33cbe15d..8fe62948b 100644 --- a/workflow/engine/templates/setup/processHeartBeatConfig.js +++ b/workflow/engine/templates/setup/processHeartBeatConfig.js @@ -11,8 +11,13 @@ Ext.onReady(function() { hideLabel : true, id : 'ch_ii', style : 'margin-top:15px', - boxLabel : '' + _('ID_ENABLE_HEART_BEAT') + '' - + boxLabel : '' + _('ID_ENABLE_HEART_BEAT') + '', + listeners : { + check : function(){ + Ext.getCmp('btn_save').enable(); + } + } + }, { xtype : 'box', @@ -22,10 +27,12 @@ Ext.onReady(function() { + '" target="_blank" align="center">' + _('ID_MORE_INFORMATION') + '.' }, style : 'margin-left:20px' - }, + } ], buttons : [{ + id : 'btn_save', text : _('ID_SAVE'), + disabled: true, handler : saveOption }] }); @@ -54,7 +61,9 @@ Ext.onReady(function() { frm.render(document.body); }); -function saveOption() { +function saveOption() +{ + Ext.getCmp('btn_save').disable(); Ext.getCmp('frmHeart').getForm().submit( { url : 'processHeartBeatAjax?action=saveOption', waitMsg : _('ID_SAVING_PROCESS'),