From b7e13ea1c25fcccf65cf7d76226dfb64f339b8d8 Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Thu, 10 May 2012 09:19:40 -0400 Subject: [PATCH] BUG 8893 En Triggers en browser IE9 tiene scroll bar y en Chrome... SOLVED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Existe un pequeñesfase con el panel content. - Se agrego un js para poder reducir el tamañxcedente y no sobrepasar el content. --- .../engine/xmlform/triggers/triggers_Options.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/workflow/engine/xmlform/triggers/triggers_Options.xml b/workflow/engine/xmlform/triggers/triggers_Options.xml index 4d91acab7..6a4c6a867 100755 --- a/workflow/engine/xmlform/triggers/triggers_Options.xml +++ b/workflow/engine/xmlform/triggers/triggers_Options.xml @@ -57,7 +57,16 @@ } function triggerFromLibrary() { - popupWindow('@G::LoadTranslation(ID_NEW_TRIGGERS)', '@G::encryptlink(@#triggersOptionList)?PRO_UID=@%PRO_UID' , 600, 340); + popupWindow('@G::LoadTranslation(ID_NEW_TRIGGERS)', '@G::encryptlink(@#triggersOptionList)?PRO_UID=@%PRO_UID' , 600, 400); + if (navigator.appName != "Microsoft Internet Explorer") { + try { + var oAllPs = document.querySelectorAll("div.panel_content___processmaker"); + oAllPs[3].style.height = "340px"; + } + catch(e) { + // nothing to do + } + } } function triggerEdit(sUID) { @@ -65,7 +74,7 @@ } function triggerProperties( sUID ) { - popupWindow('@G::LoadTranslation(ID_TRIGGERS)', '@G::encryptlink(@#triggersProperties)?TRI_UID='+ sUID , 600, 340); + popupWindow('@G::LoadTranslation(ID_TRIGGERS)', '@G::encryptlink(@#triggersProperties)?TRI_UID='+ sUID , 600, 340); } function triggerPropertiesSave( form ) {