diff options
author | Simon Rettberg | 2016-09-08 18:45:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-09-08 18:45:16 +0200 |
commit | 6210a5bff6504303afefd10728d71c2fdf047812 (patch) | |
tree | 8572693a2b67b67105f716425f5615a3d96d596b /modules-available/roomplanner/js/init.js | |
parent | [session] Add simple "change password" GUI (diff) | |
download | slx-admin-6210a5bff6504303afefd10728d71c2fdf047812.tar.gz slx-admin-6210a5bff6504303afefd10728d71c2fdf047812.tar.xz slx-admin-6210a5bff6504303afefd10728d71c2fdf047812.zip |
[roomplanner] Add option to enable/disable pvsmgr dedicated mode
In dedicated mode, the pvsmgr will skip login/vmchooser and directly
open the pvsmgr
Diffstat (limited to 'modules-available/roomplanner/js/init.js')
-rw-r--r-- | modules-available/roomplanner/js/init.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/roomplanner/js/init.js b/modules-available/roomplanner/js/init.js index 39bfefce..454146d3 100644 --- a/modules-available/roomplanner/js/init.js +++ b/modules-available/roomplanner/js/init.js @@ -26,13 +26,14 @@ function initRoomplanner() { alert('Invalid IP address format'); return; } + var dediMgr = $('#dedi-mgr').prop('checked') ? 'on' : ''; $('#saveBtn').prop('disabled', true); $('#error-msg').hide(); $('#success-msg').hide(); $('#saving-msg').show(); var serializedCurrent = roomplanner.serialize(); $.post('?do=roomplanner&locationid=' + locationId, - { token: TOKEN, action: 'save', serializedRoom: serializedCurrent, managerip: managerip } + { token: TOKEN, action: 'save', serializedRoom: serializedCurrent, managerip: managerip, dedimgr: dediMgr } ).done(function ( data ) { if (data.indexOf('SUCCESS') !== -1) { window.close(); |