From ef8cf7dda5f639c050575cb2cf40f9a19795f440 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Thu, 24 May 2007 14:11:51 +0000 Subject: [PATCH] Pop-up ajax summary panels now behave more like little windows by popping to the front focus when the user clicks on or drags them. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/web/scripts/ajax/summary-info.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/web/scripts/ajax/summary-info.js b/source/web/scripts/ajax/summary-info.js index 049ab9471c..88773b0e5e 100644 --- a/source/web/scripts/ajax/summary-info.js +++ b/source/web/scripts/ajax/summary-info.js @@ -162,7 +162,13 @@ Alfresco.InfoPanel.prototype = panel.loading = false; // drag-drop object - new Drag.Move(div); + new Drag.Move(div, + { + onStart : function(el) + { + el.setStyle("zIndex", _zIndex++); + } + }); // keep track of the div element we created panel.popupElement = div;