[IMP] web: alert/confirm dialogs default titles

Add "Alert" and "Confirmation" as default titles for
alert and confirm dialogs
This commit is contained in:
qsm-odoo
2015-07-29 14:30:28 +02:00
parent 7d70000a12
commit 970b54d1eb
@@ -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();
};