[IMP]Improved code for add <p> tag
bzr revid: cod@tinyerp.com-20140425101340-znewo5agt8vdl5mw
This commit is contained in:
parent
616c20a0f7
commit
775e553d5a
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue