Merge pull request #1600 from rickbau5/fix/enable-ui-elements

Fix UI Remaining Disabled in Groups & Adlists Pages
This commit is contained in:
Adam Warner
2020-11-08 15:21:58 +00:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -222,6 +222,8 @@ function addAdlist() {
utils.showAlert("info", "", "Adding adlist...", address);
if (address.length === 0) {
// enable the ui elements again
utils.enableAll();
utils.showAlert("warning", "", "Warning", "Please specify an adlist address");
return;
}

View File

@@ -135,6 +135,8 @@ function addGroup() {
utils.showAlert("info", "", "Adding group...", name);
if (name.length === 0) {
// enable the ui elements again
utils.enableAll();
utils.showAlert("warning", "", "Warning", "Please specify a group name");
return;
}