Fix broadcast deletion race condition

pull/1/head
yflory 4 years ago
parent a03e2546e5
commit 807642151a

@ -995,12 +995,14 @@ define([
return UI.warn(Messages.error); return UI.warn(Messages.error);
} }
// Only print success if there is no callback
if (!_cb) {
UI.log(Messages.saved);
// Clear the UI // Clear the UI
reset(); reset();
onRefreshBroadcast.fire(); onRefreshBroadcast.fire();
}
// Only print success if there is no callback
if (!_cb) { UI.log(Messages.saved); }
}); });
}; };

Loading…
Cancel
Save