[IMP]Improved code for add <p> tag

bzr revid: cod@tinyerp.com-20140425101340-znewo5agt8vdl5mw
This commit is contained in:
Chirag Dodiya (OpenERP) 2014-04-25 15:43:40 +05:30
parent 616c20a0f7
commit 775e553d5a
1 changed files with 1 additions and 1 deletions

View File

@ -3365,7 +3365,7 @@ instance.web.form.M2ODialog = instance.web.Dialog.extend({
start: function() {
var self = this;
var text = _.str.sprintf(_t("You are creating a new %s, are you sure it does not exist yet?"), self.name);
$( "p" ).text( text );
this.$("p").text( text );
this.$buttons.html(QWeb.render("M2ODialog.buttons"));
this.$("input").val(this.getParent().last_query);
this.$buttons.find(".oe_form_m2o_qc_button").click(function(){