changeset 1164:f43635937581

Open Probe always on the left side of the window and Messung on the right side
author Evi Huber <ehuber@bfs.de>
date Tue, 28 Jun 2016 13:16:54 +0200
parents d3cf992099a0
children 8422d9348dc5
files app/controller/grid/Messung.js app/controller/grid/ProbeList.js
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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();
     },

http://lada.wald.intevation.org