diff options
| author | qsm-odoo <qsm@odoo.com> | 2015-07-29 14:17:32 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2015-07-29 14:30:28 +0200 |
| commit | 970b54d1eba368e2f58a8f3fda0f6a6f6befe9f2 (patch) | |
| tree | 3af22d4a169c9f7334a23c206ff21d2daf4aec1f /addons/web | |
| parent | 7d70000a1221bbc997b455e90d44057af5c41568 (diff) | |
[IMP] web: alert/confirm dialogs default titles
Add "Alert" and "Confirmation" as default titles for
alert and confirm dialogs
Diffstat (limited to 'addons/web')
| -rw-r--r-- | addons/web/static/src/js/framework/dialog.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/framework/dialog.js b/addons/web/static/src/js/framework/dialog.js index 11c936b94f3..1aedec82aff 100644 --- a/addons/web/static/src/js/framework/dialog.js +++ b/addons/web/static/src/js/framework/dialog.js @@ -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(); }; |
