From 7244347f476a9aae185c249985f5cb58970088a0 Mon Sep 17 00:00:00 2001 From: jennylee Date: Wed, 28 May 2014 16:57:23 -0400 Subject: [PATCH] BUG-15076 Edit StageMap Window dosen`t close. The Edit StageMap wondow dosen`t close because the menu_edit variable was undefined. So, I added a validation to control this issue. --- workflow/engine/xmlform/tracker/tracker_Configuration.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/engine/xmlform/tracker/tracker_Configuration.xml b/workflow/engine/xmlform/tracker/tracker_Configuration.xml index 59423e310..d9afa0f14 100755 --- a/workflow/engine/xmlform/tracker/tracker_Configuration.xml +++ b/workflow/engine/xmlform/tracker/tracker_Configuration.xml @@ -72,9 +72,9 @@ var editStagesMap = function(sProcessUID) { oPanel.events = { remove: function() { delete(oPanel); - if(menu_edit.maked === true){ + if(typeof menu_edit != "undefined" && menu_edit.maked === true){ menu_edit.remove(); - } else if (menu_add.maked === true) { + } else if (typeof menu_add != "undefined" && menu_add.maked === true) { menu_add.remove(); } }.extend(this)