[IMP] web: alert/confirm dialogs default titles
Add "Alert" and "Confirmation" as default titles for alert and confirm dialogs
This commit is contained in:
@@ -158,6 +158,7 @@ Dialog.alert = function (owner, message, options) {
|
||||
$content: $('<div>', {
|
||||
text: message,
|
||||
}),
|
||||
title: _t("Alert"),
|
||||
}, options)).open();
|
||||
};
|
||||
|
||||
@@ -182,6 +183,7 @@ Dialog.confirm = function (owner, message, options) {
|
||||
$content: $('<div>', {
|
||||
text: message,
|
||||
}),
|
||||
title: _t("Confirmation"),
|
||||
}, options)).open();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user