[FIX]put title on dialog.
bzr revid: vja@vja-desktop-20120522062814-hem1abedcktkelnu
This commit is contained in:
parent
43c7472d10
commit
248e685dee
|
@ -496,6 +496,7 @@ instance.web.FormView = instance.web.View.extend(_.extend({}, instance.web.form.
|
|||
}
|
||||
if (!_.isEmpty(result.warning)) {
|
||||
instance.web.dialog($(QWeb.render("CrashManager.warning", result.warning)), {
|
||||
title:result.warning.title,
|
||||
modal: true,
|
||||
buttons: [
|
||||
{text: _t("Ok"), click: function() { $(this).dialog("close"); }}
|
||||
|
|
Loading…
Reference in New Issue