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.
This commit is contained in:
Óscar González Fernández 2010-08-05 11:44:44 +02:00
parent 64d86d7c44
commit 5ac6f8a55c

View file

@ -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() {