From ee98b63c0be157cb64fb0faa8e4044ad69fd4f30 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 14 Dec 2011 17:12:09 +0000 Subject: [PATCH] Set gantt overflow to auto to hide the scrollbars when not needed. --- phpgwapi/js/dhtmlxGantt/sources/dhtmlxgantt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/dhtmlxGantt/sources/dhtmlxgantt.js b/phpgwapi/js/dhtmlxGantt/sources/dhtmlxgantt.js index 52b9b562e9..82192e3441 100644 --- a/phpgwapi/js/dhtmlxGantt/sources/dhtmlxgantt.js +++ b/phpgwapi/js/dhtmlxGantt/sources/dhtmlxgantt.js @@ -2860,7 +2860,7 @@ GanttChart.prototype.create = function(divId) //Creation panel oData this.oData = document.createElement("div"); this.oData.appendChild(this.createPanelTasks()); - this.oData.style.cssText = "position:relative;overflow:scroll;height:" + (this.contentHeight - 40) + "px;border-left:#f1f3f1 1px solid"; + this.oData.style.cssText = "position:relative;overflow:auto;height:" + (this.contentHeight - 40) + "px;border-left:#f1f3f1 1px solid"; this.oData.firstChild.appendChild(this.createPanelErrors());