From 69f1f51494fd0e1d7c72bc5111edb1a10ed48360 Mon Sep 17 00:00:00 2001 From: Erik Amaru Ortiz Date: Mon, 3 Oct 2011 11:55:47 -0400 Subject: [PATCH] BUG 0000 caseSummary improvements - now the window is contrained to its parent - the cancel button was removed because is not necessary now --- workflow/engine/templates/app/main.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/workflow/engine/templates/app/main.js b/workflow/engine/templates/app/main.js index fd069e8fb..d438424e9 100644 --- a/workflow/engine/templates/app/main.js +++ b/workflow/engine/templates/app/main.js @@ -361,23 +361,24 @@ var openSummaryWindow = function(appUid, delIndex) var summaryWindow = new Ext.Window({ title: _('ID_SUMMARY'), width: 500, - height: 420, + height: 400, resizable: false, closable: true, modal: true, autoScroll:true, + constrain: true, keys: { key: 27, fn: function() { summaryWindow.close(); } - }, + }/*, buttons : [{ text : _('ID_CANCEL'), handler : function(){ summaryWindow.close(); }} - ], + ]*/, }); if (response.dynUid != '') {