[fix] problem with warnings during on_changes

bzr revid: nicolas.vanhoren@openerp.com-20120607123824-f5sww4jmwiqid4bb
This commit is contained in:
niv-openerp
2012-06-07 14:38:24 +02:00
+2 -1
View File
@@ -495,7 +495,8 @@ instance.web.FormView = instance.web.View.extend(_.extend({}, instance.web.form.
this.on_form_changed();
}
if (!_.isEmpty(result.warning)) {
instance.web.dialog($(QWeb.render("CrashManagerWarning", 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"); }}