all items can now be deleted
This commit is contained in:
parent
e626a18676
commit
12b6368a32
@ -638,8 +638,12 @@
|
||||
}
|
||||
self.onSettingsBeforeSave = function () {
|
||||
self.recursiveDeleteProperties(self.controlsFromServer);
|
||||
if (self.controlsFromServer.length == 0) {
|
||||
self.settingsViewModel.settings.plugins.customControl.controls = "";
|
||||
} else {
|
||||
self.settingsViewModel.settings.plugins.customControl.controls = self.controlsFromServer;
|
||||
}
|
||||
}
|
||||
|
||||
self.onEventSettingsUpdated = function (payload) {
|
||||
self.requestData();
|
||||
|
Loading…
Reference in New Issue
Block a user