summaryrefslogtreecommitdiffstats
path: root/install/share/preferences.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'install/share/preferences.html.template')
-rw-r--r--install/share/preferences.html.template7
1 files changed, 5 insertions, 2 deletions
diff --git a/install/share/preferences.html.template b/install/share/preferences.html.template
index 621301f1a..b809b9d06 100644
--- a/install/share/preferences.html.template
+++ b/install/share/preferences.html.template
@@ -22,8 +22,8 @@
</head>
<body>
<form action="undefined" method="get">
-<input type=button onclick="setPreferences()" name="prefs" value="Configure Firefox">
-<div id="success" class="textblock" style="display:none;">
+<input id="button" type=button onclick="setPreferences()" name="prefs" value="Configure Firefox">
+<div id="success" class="textblock" style="display: none;">
<p>Browser configured.</p>
<p>
<a href="/ipa/ui" id="redirect_link" target="_top">Click here to return to the Web UI.</a>
@@ -67,6 +67,9 @@
var redirect_link = document.getElementById('redirect_link');
redirect_link.href = "https://" + location.hostname + location.port + "/ipa/ui";
+ var button = document.getElementById('button');
+ button.style['display'] = "none";
+
var successDiv = document.getElementById('success');
successDiv.style['display'] = "block";
} catch (e) {