Fix broadcast deletion race condition
parent
a03e2546e5
commit
807642151a
|
@ -995,12 +995,14 @@ define([
|
|||
return UI.warn(Messages.error);
|
||||
}
|
||||
|
||||
// Clear the UI
|
||||
reset();
|
||||
onRefreshBroadcast.fire();
|
||||
|
||||
// Only print success if there is no callback
|
||||
if (!_cb) { UI.log(Messages.saved); }
|
||||
if (!_cb) {
|
||||
UI.log(Messages.saved);
|
||||
// Clear the UI
|
||||
reset();
|
||||
onRefreshBroadcast.fire();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue