summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/locationinfo/templates/page-config-panel-url.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-url.html b/modules-available/locationinfo/templates/page-config-panel-url.html
index 86915729..2deb32b1 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" name="split-login" {{split-login_checked}} value="1">
+ <input id="split-login" type="checkbox" onclick="splitLoginChange()" name="split-login" {{split-login_checked}} value="1">
<label></label>
</div>
</div>
@@ -248,6 +248,14 @@ 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();