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
This commit is contained in:
Kevin Roast
2007-05-24 14:11:51 +00:00
parent 20efff09d1
commit ef8cf7dda5

View File

@@ -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;