diff options
author | Simon Rettberg | 2018-04-24 15:43:29 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-24 15:43:29 +0200 |
commit | 687046dde39fa7729f2a49e29a90bb2a9e448f06 (patch) | |
tree | 8b1c8c444c597b39d78bf8080bbb069c38e69051 /modules-available/roomplanner | |
parent | style.css: Quickfix for horizontal scrolling glitches (diff) | |
download | slx-admin-687046dde39fa7729f2a49e29a90bb2a9e448f06.tar.gz slx-admin-687046dde39fa7729f2a49e29a90bb2a9e448f06.tar.xz slx-admin-687046dde39fa7729f2a49e29a90bb2a9e448f06.zip |
[roomplanner] Fix deleting PCs not from current location subnet
Diffstat (limited to 'modules-available/roomplanner')
-rw-r--r-- | modules-available/roomplanner/clientscript.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/roomplanner/clientscript.js b/modules-available/roomplanner/clientscript.js index bd29c06c..823c212a 100644 --- a/modules-available/roomplanner/clientscript.js +++ b/modules-available/roomplanner/clientscript.js @@ -184,6 +184,7 @@ function onPcDelete(muuid) { value = subnetMachines[i]; } }); + if (!value) return; } value.fixedlocationid = null; makeCombinedFieldSingle(value); |