From 5ac6f8a55cb0c2fffac317155c0f7f78ccdca4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Gonz=C3=A1lez=20Fern=C3=A1ndez?= Date: Thu, 5 Aug 2010 11:44:44 +0200 Subject: [PATCH] ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #578] Fix bug. That class was not used anymore. Now using the current class for the left part. Now the popup is positionated correctly when part of the task is behind the left part. --- ganttzk/src/main/resources/web/js/ganttz/tasklist.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ganttzk/src/main/resources/web/js/ganttz/tasklist.js b/ganttzk/src/main/resources/web/js/ganttz/tasklist.js index fa61f7825..86a1daabf 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/tasklist.js +++ b/ganttzk/src/main/resources/web/js/ganttz/tasklist.js @@ -57,7 +57,7 @@ zkTasklist.showTooltip = function(elem) { component = document.getElementById(elem); if (component!=null) { component.style['display'] = 'block'; - offset = zkTask.xMouse - component.parentNode.offsetLeft - leftpanelcontainer().offsetWidth - PERSPECTIVES_WIDTH + rightpanellayout().scrollLeft; + offset = zkTask.xMouse - component.parentNode.offsetLeft - taskdetailsContainer().offsetWidth - PERSPECTIVES_WIDTH + rightpanellayout().scrollLeft; component.style['left'] = offset + 'px'; } }, zkTasklist.DELAY); @@ -151,8 +151,8 @@ function rightpanellayout() { return YAHOO.util.Selector.query('.rightpanellayout div')[0]; } -function leftpanelcontainer() { - return YAHOO.util.Selector.query('.leftpanelcontainer')[0]; +function taskdetailsContainer() { + return YAHOO.util.Selector.query('.taskdetailsContainer')[0]; } function timeplotcontainer_load() {