summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-02-09 10:59:40 +0100
committerSimon Rettberg2020-02-09 10:59:40 +0100
commitd7c85ae73d2bb57788020b1bfa85e4ae714af360 (patch)
tree55aafe1ea7f9f9e5cd1db47c7a68c43866a6c965
parent[locationinfo] Force interactive if split-login (diff)
downloadslx-admin-3.9.tar.gz
slx-admin-3.9.tar.xz
slx-admin-3.9.zip
Revert "[locationinfo] Force interactive if split-login"v3.9
Forcing interactive mode when split-login is enabled is already implemented for slx-browser, but chromium was excluded: It might be desired to have a full screen app that can be exited by Ctrl-W or via javascript. slx-browser simply doesn't support these mechanisms, thus we force interactive mode for it. If chromium should also be forced into interactive mode it would be easier to just change the existing code to be unconditional. This reverts commit b2798e8a80f7a395027c65ea2905a773d45a6be8.
-rw-r--r--modules-available/locationinfo/templates/page-config-panel-url.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-url.html b/modules-available/locationinfo/templates/page-config-panel-url.html
index 2deb32b1..86915729 100644
--- a/modules-available/locationinfo/templates/page-config-panel-url.html
+++ b/modules-available/locationinfo/templates/page-config-panel-url.html
@@ -115,7 +115,7 @@
</div>
<div class="col-sm-7">
<div class="checkbox">
- <input id="split-login" type="checkbox" onclick="splitLoginChange()" name="split-login" {{split-login_checked}} value="1">
+ <input id="split-login" type="checkbox" name="split-login" {{split-login_checked}} value="1">
<label></label>
</div>
</div>
@@ -248,14 +248,6 @@ function browserChange() {
}
}
-function splitLoginChange() {
- if($("#split-login").is(':checked')) {
- $("#interactive").prop('checked', true).prop('disabled', true);
- } else {
- $("#interactive").prop('disabled', false);
- }
-}
-
// Add another bookmark input field to the form
function addBookmark() {
var rowCopy = $('#bookmarkRow').clone();