Fixed an issue where multiple errors were showing if user does not have connect privileges. #7073

This commit is contained in:
Pravesh Sharma
2024-01-12 17:20:51 +05:30
committed by GitHub
parent ad0567bd85
commit b28df5874e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ class Notifier {
return onJSONResult();
}
this.alert(promptmsg, msg.replace(new RegExp(/\r?\n/, 'g'), '<br />'));
onJSONResult();
onJSONResult('ALERT_CALLED');
}
alert(title, text, onOkClick, okLabel=gettext('OK')) {