Koha/koha-tmpl/intranet-tmpl/prog/en/modules/authorities
David Cook 7f8c59edaa Bug 12708 - Unexpected behaviour in IE 9 and lower when using openWindow
This patch removes the whitespace from arguments to the "name" parameter
in "window.open". It also adds a trap for the "openWindow" helper
function, which will use a "null" instead of a "name" if window.open
isn't able to handle a name with whitespace (i.e. if it's IE <= 9).

_TEST PLAN_

1) Switch to an emulated or authentic Internet Explorer version E 9
or lower
2) Click "Help"
3) Note that it opens the page in the current window rather than as a popup

4) Apply the patch

5) Shift refresh your page
6) Click "Help"
7) Note that it now opens (correctly) as a pop-up

(If you want to be more thorough, you can test in other browsers as well
to make sure that it still works.)

Tested with IE 10 developer tools: IE7, IE 8, IE 9
Window pops up as expected. No regression found with IE 10 / FF31.0
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested for regressions in Firefox and Chromium.
I checked the help and the duplicate authorities windows
still work correctly.
Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-08-19 09:31:25 -03:00
..
auth_finder.tt Bug 8241 - Remove stray references to YUI autocomplete 2012-06-25 16:22:46 +02:00
authorities-home.tt Bug 11227: remove some JavaScript from staff PO files 2014-04-27 21:35:34 +00:00
authorities.tt Bug 12708 - Unexpected behaviour in IE 9 and lower when using openWindow 2014-08-19 09:31:25 -03:00
blinddetail-biblio-search.tt Bug 5262: make authority plugin copy indicators to bib record 2013-08-14 17:17:22 +00:00
detail.tt Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
merge.tt bug 5202: (follow-up) adjust for the move of the merge record Javascript 2013-10-10 21:50:08 +00:00
searchresultlist-auth.tt Bug 7442: fix crash when selecting an authority with 200$x or 200$y (UNIMARC) 2014-05-05 01:09:29 +00:00
searchresultlist.tt Bug 11227: remove some JavaScript from staff PO files 2014-04-27 21:35:34 +00:00