From 708ff528abc5bc74c08ace1a670be5f45b849847 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Thu, 2 Jul 2009 17:50:27 +0200 Subject: [PATCH] ItEr15S12RFComportamentoGraficoPlanificadorItEr14S13: TaskContainers resize and move operations have been disabled while its behaviour it is not clear --- .../main/resources/web/js/ganttz/taskcontainer.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/navalplanner-gantt-zk/src/main/resources/web/js/ganttz/taskcontainer.js b/navalplanner-gantt-zk/src/main/resources/web/js/ganttz/taskcontainer.js index 081b720e7..a0d1e5454 100644 --- a/navalplanner-gantt-zk/src/main/resources/web/js/ganttz/taskcontainer.js +++ b/navalplanner-gantt-zk/src/main/resources/web/js/ganttz/taskcontainer.js @@ -7,9 +7,11 @@ zkTaskContainer = {}; +/* We will not allow taskcontainer move or resize untill its behaviour its + * clearly specified zkTaskContainer.getDD = function(cmp) { zkTask.getDD(cmp); -}; +}; */ zkTaskContainer.relocateAfterAdding = function(cmp) { zkTask.relocateAfterAdding (cmp); @@ -20,7 +22,9 @@ zkTaskContainer.cleanup = function(cmp){ }; zkTaskContainer.init = function(cmp) { - zkTask.init(cmp); +/* We will not allow taskcontainer move or resize untill its behaviour its + * clearly specified + zkTask.init(cmp); */ }; zkTaskContainer.xMouse; @@ -64,6 +68,10 @@ zkTaskContainer.getElementsByAttribute = function(oElm, strTagName, strAttribute zkTask.getElementsByAttribute(oElm, strTagName, strAttributeName, strAttributeValue); } + +/* We will not allow taskcontainer move or resize untill its behaviour its + * clearly specified + YAHOO.example.DDRegion = function(id, sGroup, config) { this.cont = config.cont; YAHOO.example.DDRegion.superclass.constructor.apply(this, arguments); @@ -113,4 +121,4 @@ YAHOO.extend(YAHOO.example.DDRegion, YAHOO.util.DD, { this.setXConstraint(left, right); this.setYConstraint(top, bottom); } -}); \ No newline at end of file +}); */ \ No newline at end of file