diff options
author | Simon Rettberg | 2016-09-09 19:04:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-09-09 19:04:40 +0200 |
commit | d1c2f87f2fa4e66f81f86ec72560b633712c613f (patch) | |
tree | 8fea027e97c48f73bc762fdd24c7bf7ec4cb28a2 /modules-available/roomplanner/js/init.js | |
parent | [locations/statistics] Make machine counting more consistent (diff) | |
download | slx-admin-d1c2f87f2fa4e66f81f86ec72560b633712c613f.tar.gz slx-admin-d1c2f87f2fa4e66f81f86ec72560b633712c613f.tar.xz slx-admin-d1c2f87f2fa4e66f81f86ec72560b633712c613f.zip |
[roomplanner] Implement marking tutor on plan
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 454146d3..ef3d15a7 100644 --- a/modules-available/roomplanner/js/init.js +++ b/modules-available/roomplanner/js/init.js @@ -27,13 +27,14 @@ function initRoomplanner() { return; } var dediMgr = $('#dedi-mgr').prop('checked') ? 'on' : ''; + var tutorUuid = $('[istutor="true"]').attr('muuid'); $('#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, dedimgr: dediMgr } + { token: TOKEN, action: 'save', serializedRoom: serializedCurrent, managerip: managerip, dedimgr: dediMgr, tutoruuid: tutorUuid } ).done(function ( data ) { if (data.indexOf('SUCCESS') !== -1) { window.close(); |