mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Make ssbrowser.html work in IE 10
Manual configuration page for other browsers (ssbrowser.html) doesn't work in IE 10 - error page is displayed. This patch is conditioning creation of Firefox configuration object so that configure.jar is requested only in Firefox. IE doesn't request it and so it does not fail. https://fedorahosted.org/freeipa/ticket/3645
This commit is contained in:
@@ -16,7 +16,14 @@
|
||||
$('.example-domain').text(domain);
|
||||
|
||||
if ($.browser.mozilla) {
|
||||
$("#configurefirefox").show();
|
||||
var ff_config = $("#configurefirefox");
|
||||
var obj = $('<object/>', {
|
||||
type: 'text/html',
|
||||
'class': 'browser-config'
|
||||
});
|
||||
obj.prop('data', 'jar:/ipa/errors/configure.jar!/preferences.html');
|
||||
obj.appendTo(ff_config);
|
||||
ff_config.show();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -72,8 +79,7 @@
|
||||
<ul>
|
||||
<li>1. Import <a href="ca.crt">CA certificate</a>. Make sure you checked all three checkboxes.</li>
|
||||
<li>2. Click on "Configure Browser" button below.</li>
|
||||
<li id="configurefirefox" style="display:none"><object data="jar:/ipa/errors/configure.jar!/preferences.html"
|
||||
type="text/html" class="browser-config"></object></li>
|
||||
<li id="configurefirefox" style="display:none"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user