From 0900b7996eb7e735d7b57d70f389cfcd7539b274 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Tue, 24 Apr 2007 13:12:29 +0000 Subject: [PATCH] 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 --- source/web/scripts/ajax/node-info.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/web/scripts/ajax/node-info.js b/source/web/scripts/ajax/node-info.js index 0198d21ecf..662a01f454 100644 --- a/source/web/scripts/ajax/node-info.js +++ b/source/web/scripts/ajax/node-info.js @@ -13,7 +13,6 @@ var zIndex = 99; */ Alfresco.NodeInfoManager = function() { - //YAHOO.util.Event.addListener(window, "resize", this.resize); } /** @@ -118,7 +117,7 @@ Alfresco.NodeInfoPanel.prototype = { success: this.loadNodeInfoHandler, failure: handleErrorYahoo, // global error handler - argument: [this.nodeRef, this] + argument: [this] }, "noderef=" + this.nodeRef); } @@ -134,7 +133,7 @@ Alfresco.NodeInfoPanel.prototype = */ loadNodeInfoHandler: function(response) { - var panel = response.argument[1]; + var panel = response.argument[0]; // create a 'div' to hold the summary table var div = document.createElement("div");