diff --git a/changelog.html b/changelog.html index 38e589671a31662ba95151f5ceeaa0da4a80f713..cc7cfbef5b1bc20f0245d9431bf06f403c4d913a 100644 --- a/changelog.html +++ b/changelog.html @@ -55,6 +55,9 @@ Upcoming changes
/login
offers link to /opensearch.xml
which anonymous users cannot retrieve.
(issue 21254)
diff --git a/core/src/main/resources/lib/form/apply/apply.js b/core/src/main/resources/lib/form/apply/apply.js
index 9349740e75dc682cc16ccbef7cde2433cb3819f7..112abd2ee7f9f83ef0d49b66f50d9a66250a76f6 100644
--- a/core/src/main/resources/lib/form/apply/apply.js
+++ b/core/src/main/resources/lib/form/apply/apply.js
@@ -29,10 +29,7 @@ Behaviour.specify("INPUT.apply-button", 'apply', 0, function (e) {
// create a throw-away IFRAME to avoid back button from loading the POST result back
id = "iframe"+(iota++);
- target = document.createElement("iframe");
- target.setAttribute("id",id);
- target.setAttribute("name",id);
- target.setAttribute("style","height:100%; width:100%");
+ target = Element('iframe', {id: id, name: id, style: 'height:100%; width:100%'});
$(containerId).appendChild(target);
attachIframeOnload(target, function () {
@@ -80,4 +77,4 @@ Behaviour.specify("INPUT.apply-button", 'apply', 0, function (e) {
f.target = null;
}
});
-});
\ No newline at end of file
+});