diff options
Diffstat (limited to 'modules-available/locationinfo/templates/page-config-panel-default.html')
-rw-r--r-- | modules-available/locationinfo/templates/page-config-panel-default.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html index 9470efbb..2514ef93 100644 --- a/modules-available/locationinfo/templates/page-config-panel-default.html +++ b/modules-available/locationinfo/templates/page-config-panel-default.html @@ -549,7 +549,7 @@ document.addEventListener("DOMContentLoaded", function () { function unloadOverrideContent(id) { var $panelBody = $('#overrideRoom' + id).find('div.panel-body'); $panelBody.find('div.list-group').remove(); - delete overrides[id] + if (overrides !== null && overrides[id] !== undefined) delete overrides[id] } function delParent() { |