From b9f2c198cf97f42a12757b6a8dc8e56bfa1f08ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacobo=20Aragunde=20P=C3=A9rez?= Date: Thu, 6 Oct 2011 16:33:45 +0200 Subject: [PATCH] [Bug #1198] Implemented missing JS operation QueueListComponent.adjustScrollHorizontalPosition. FEA: ItEr75S08MigrationZK5 --- .../resources/web/js/limitingresources/QueueListComponent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js index 6f00f57c3..745585079 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js @@ -15,6 +15,9 @@ limitingresources.QueueListComponent = zk.$extends(zk.Widget,{ var first = this.$n(); return [first, first.parentNode, first.parentNode.parentNode]; }, + adjustScrollHorizontalPosition : function (offsetInPx) { + jq(this.$n()).scrollLeft(offsetInPx); + }, adjustResourceLoadRows : function() { var width = jq('.rightpanellayout #timetracker .z-grid-header :first').innerWidth(); jq('.row_resourceload').each(function(index, element){