[Lada-commits] [PATCH] Open Probe always on the left side of the window and Messung on the right side

Wald Commits scm-commit at wald.intevation.org
Tue Jun 28 13:17:17 CEST 2016


# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1467112614 -7200
# Node ID f436359375812b9d32a2406496e225653f0edeee
# Parent  d3cf992099a06076e1c874747d90a024aae8fa94
Open Probe always on the left side of the window and Messung on the right side

diff -r d3cf992099a0 -r f43635937581 app/controller/grid/Messung.js
--- a/app/controller/grid/Messung.js	Mon Jun 27 15:09:09 2016 +0200
+++ b/app/controller/grid/Messung.js	Tue Jun 28 13:16:54 2016 +0200
@@ -63,6 +63,7 @@
                     grid: grid
                 });
                 win.show();
+                win.setPosition(window.innerWidth - 30 -win.width);
                 win.initData();
             }
             return;
diff -r d3cf992099a0 -r f43635937581 app/controller/grid/ProbeList.js
--- a/app/controller/grid/ProbeList.js	Mon Jun 27 15:09:09 2016 +0200
+++ b/app/controller/grid/ProbeList.js	Tue Jun 28 13:16:54 2016 +0200
@@ -62,7 +62,7 @@
             record: record,
             style: 'z-index: -1;' //Fixes an Issue where windows could not be created in IE8
         });
-
+        win.setPosition(30);
         win.show();
         win.initData();
     },


More information about the Lada-commits mailing list