[FIX] have form widget elements behave correctly in case of classes with dots. Thanks valentin
bzr revid: xmo@openerp.com-20111004132854-sg8vo4m3b4bvtecf
This commit is contained in:
@@ -685,7 +685,8 @@ openerp.web.form.Widget = openerp.web.Widget.extend(/** @lends openerp.web.form.
|
||||
this.width = this.node.attrs.width;
|
||||
},
|
||||
start: function() {
|
||||
this.$element = this.view.$element.find('.' + this.element_class);
|
||||
this.$element = this.view.$element.find(
|
||||
'.' + this.element_class.replace(/[^\r\n\f0-9A-Za-z_-]/g, "\\$&"));
|
||||
},
|
||||
process_modifiers: function() {
|
||||
var compute_domain = openerp.web.form.compute_domain;
|
||||
|
||||
Reference in New Issue
Block a user