Koha/koha-tmpl/intranet-tmpl/prog/en/js
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
..
pages Bug 11703 [QA Followup] - Allow keyboard navigation of tabs 2014-07-03 11:22:11 -03:00
acq.js Bug 7180: (follow-up) fix various issues 2014-05-04 19:56:59 +00:00
additem.js Bug 10576: make strings in additem.js accessible to translation 2013-07-22 15:40:21 +00:00
ajax.js Bug 2774 - Path to theme is hard-coded in many places 2013-07-18 16:49:18 +00:00
background-job-progressbar.js Bug 9113: fix handling of certain characters by item batch modification tool 2013-07-05 15:35:25 +00:00
basket.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
basketgroup.js Bug 10533: move JavaScript functions for basket groups to a separate file 2014-04-18 19:25:12 +00:00
cataloging.js Bug 11292 [QA Followup] - Use noEnterSubmit instead of new keypress handler 2014-06-24 09:39:53 -03:00
checkouts.js Bug 11703: (qa followup) consistency in svc 2014-07-03 12:38:13 -03:00
datatables.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
holds.js Bug 11703: (followup) svc/holds invoked with trailing .pl 2014-07-03 14:05:23 -03:00
localcovers.js Bug 8264 - local cover images not working in IE8 [ prog ] 2013-05-01 06:16:38 -04:00
members.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
merge-record.js Bug 10648 - In records merge greatest field can not be added 2014-08-05 20:17:17 -03:00
offlinecirc.js Bug 10240: QA follow-up 2013-10-11 01:57:03 +00:00
prevent_submit.js Bug 10310: Followup Prevent submitting form with enter does not work with IE 2013-05-23 07:32:50 -07:00
staff-global.js Bug 12708 - Unexpected behaviour in IE 9 and lower when using openWindow 2014-08-19 09:31:25 -03:00
xmlControlfield.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00