diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/js/nms-ui-switch.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/nms-ui-switch.js b/web/js/nms-ui-switch.js index 326db1c..b15c6ac 100644 --- a/web/js/nms-ui-switch.js +++ b/web/js/nms-ui-switch.js @@ -52,8 +52,8 @@ class nmsModSwitch extends nmsBox { } del(e) { - if(confirm("This will delete the switch: " + this.nmsBox._sw)) { - this.nmsBox.panel.commit([{'sysname': this.nmsBox.panel.sw, 'deleted': true}]); + if(confirm("This will delete the switch: " + this.nmsBox.panel._sw)) { + this.nmsBox.panel.commit([{'sysname': this.nmsBox.panel._sw, 'deleted': true}]); }; } save(e) { |