From 0fbace72856e5854ce7483c945a007e5f3591e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 23 Sep 2014 08:32:04 +0200 Subject: [PATCH] Row: fix for row editor and scroll pos, Fixes #846 --- src/app/directives/dashEditLink.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/directives/dashEditLink.js b/src/app/directives/dashEditLink.js index 599cf341fe5..d0babd967e4 100644 --- a/src/app/directives/dashEditLink.js +++ b/src/app/directives/dashEditLink.js @@ -34,6 +34,7 @@ function (angular, $) { function hideScrollbars(value) { if (value) { + window.scrollTo(0,0); document.documentElement.style.overflow = 'hidden'; // firefox, chrome document.body.scroll = "no"; // ie only } else {