From 40ab2f0b769531f9e5e092494bce2a61fae22a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacobo=20Aragunde=20P=C3=A9rez?= Date: Thu, 22 Dec 2011 13:00:54 +0100 Subject: [PATCH] [Bug #1316] Use correct JS selectors to work both with leaf tasks and task groups. The selectors didn't work correctly with task groups. FEA: ItEr75S04BugFixing --- ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js b/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js index d190da010..5d0f9ecbb 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js +++ b/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js @@ -216,10 +216,10 @@ ganttz.TaskComponent = zk.$extends(zul.Widget, { jq('#consolidatedline' + this.parent.uuid).css('left', width); }, resizeCompletionAdvance : function(width){ - jq('#' + this.uuid + ' > .completion:first').css('width', width); + jq('#' + this.uuid + ' .completion:first').css('width', width); }, resizeCompletion2Advance : function(width){ - jq('#' + this.uuid + ' > .completion2:first').css('width', width); + jq('#' + this.uuid + ' .completion2:first').css('width', width); }, showResourceTooltip : function(){ jq('#'+ this.uuid + ' .task-resources').show();