From a53e3fb985f82d7a3b450d62a8333ee166eef189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Gonz=C3=A1lez=20Fern=C3=A1ndez?= Date: Wed, 14 Oct 2009 20:03:19 +0200 Subject: [PATCH] ItEr30S17ValidacionEProbasFuncionais: The resize client script doesn't work. Fixing bug #23 --- .../main/resources/web/js/ganttz/tasklist.js | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/ganttzk/src/main/resources/web/js/ganttz/tasklist.js b/ganttzk/src/main/resources/web/js/ganttz/tasklist.js index c2db8b305..05ff440d0 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/tasklist.js +++ b/ganttzk/src/main/resources/web/js/ganttz/tasklist.js @@ -45,8 +45,6 @@ SCROLLBAR_WIDTH = 15; // Scrollbars default width DRAGABLE_PADDING = 20; // Drag padding for dependency creation - - zkTasklist.tooltipTimeout = ""; zkTasklist.showTooltip = function(elem) { @@ -276,40 +274,8 @@ zkTask.init = function(cmp) { proxy : true }); - // Configure the task element to be resizable - cmp2 = document.getElementById('completion' + cmp.id); - - var resize2 = new YAHOO.util.Resize(cmp2, { - handles : [ 'r' ], - proxy : true, - maxWidth : cmp.clientWidth - 2 - // Considering 1px borders - }); - - resize2.on('resize', function(ev) { - cmp.style.top = ""; - cmp2.style.top = ""; - zkau.send( { - uuid : cmp2.id, - cmd : "updateProgress", - data : [ cmp2.style.width ] - }); - }, zkTask, true); - resize.on('resize', function(ev) { cmp.style.top = ""; - cmp2.style.top = ""; - cmp2 = document.getElementById('completion' + cmp.id); - resize2 = new YAHOO.util.Resize(cmp2, { - handles : [ 'r' ], - proxy : true, - maxWidth : cmp.clientWidth - 2 - // Considering 1px borders - }); - if ((cmp.clientWidth) < (cmp2.clientWidth)) { - cmp2.style.width = cmp.clientWidth - 2 + 'px'; - } - zkau.send( { uuid : cmp.id, cmd : "updateSize",