changeset 5006:bb97f61e1b73

Help-Window now gets focus
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 01 Dec 2015 10:06:14 +0100
parents a86b0c02940d
children 394949603349
files CHANGES.txt roundup/cgi/templating.py
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Sun Oct 11 00:06:51 2015 +1100
+++ b/CHANGES.txt	Tue Dec 01 10:06:14 2015 +0100
@@ -170,6 +170,9 @@
   one. (Ralf Schlatterbeck)
 - issue2550892 (translation error of priority in locale de) Thanks 
   Martin Thomas Swaton for reporting. (Bernhard Reiter)
+- Help-Window now gets focus, this prevents the case that help doesn't
+  work because an old help-window is below the main window.
+  (Ralf Schlatterbeck)
 
 
 2013-07-06: 1.5.0
--- a/roundup/cgi/templating.py	Sun Oct 11 00:06:51 2015 +1100
+++ b/roundup/cgi/templating.py	Tue Dec 01 10:06:14 2015 +0100
@@ -2758,6 +2758,7 @@
 
 function help_window(helpurl, width, height) {
     HelpWin = window.open('%s' + helpurl, 'RoundupHelpWindow', 'scrollbars=yes,resizable=yes,toolbar=no,height='+height+',width='+width);
+    HelpWin.focus ()
 }
 </script>
 """%self.base

Roundup Issue Tracker: http://roundup-tracker.org/