Minor fix to positioning code in pop-up info panel javascript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-04-24 13:12:29 +00:00
parent b92ebe857c
commit 0900b7996e

View File

@@ -13,7 +13,6 @@ var zIndex = 99;
*/ */
Alfresco.NodeInfoManager = function() Alfresco.NodeInfoManager = function()
{ {
//YAHOO.util.Event.addListener(window, "resize", this.resize);
} }
/** /**
@@ -118,7 +117,7 @@ Alfresco.NodeInfoPanel.prototype =
{ {
success: this.loadNodeInfoHandler, success: this.loadNodeInfoHandler,
failure: handleErrorYahoo, // global error handler failure: handleErrorYahoo, // global error handler
argument: [this.nodeRef, this] argument: [this]
}, },
"noderef=" + this.nodeRef); "noderef=" + this.nodeRef);
} }
@@ -134,7 +133,7 @@ Alfresco.NodeInfoPanel.prototype =
*/ */
loadNodeInfoHandler: function(response) loadNodeInfoHandler: function(response)
{ {
var panel = response.argument[1]; var panel = response.argument[0];
// create a 'div' to hold the summary table // create a 'div' to hold the summary table
var div = document.createElement("div"); var div = document.createElement("div");