[MERGE] Sync with trunk

bzr revid: odo@openerp.com-20121119170116-x6fusrmmmkquvgfh
This commit is contained in:
Olivier Dony
2012-11-19 18:01:16 +01:00
+1 -1
View File
@@ -1215,7 +1215,7 @@ instance.web.form.FormRenderingEngine = instance.web.form.FormRenderingEngineInt
var doc = $.parseXML('<div class="oe_form">' + xml + '</div>');
$('button', doc).each(function() {
$(this).attr('data-button-type', $(this).attr('type'));
$(this).attr('data-button-type', $(this).attr('type')).attr('type', 'button');
});
xml = instance.web.xml_to_str(doc);
return $(xml);