Skip to content

Commit

Permalink
Fixed issue #CR-1243: Fix survey default languages removal alert (#3350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohabmes committed Aug 21, 2023
1 parent 4af8b1f commit 01da4ab
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ $.fn.select2.amd.define(
data.selected = false;

if (data.isBaseLanguage) {
LS.LsGlobalNotifier.create(
this.messages.cannotRemoveBaseLanguage,
'well-lg bg-danger text-center'
);
LS.LsGlobalNotifier.createAlert(this.messages.cannotRemoveBaseLanguage, 'danger', {showCloseButton: true});
return;
} else {
$.fn.bsconfirm(
Expand Down

0 comments on commit 01da4ab

Please sign in to comment.