[IMP] many2many tags CSS classes have been properly namespaced (cf. this branc: ~openerp-dev/openerp-web/trunk-m2m_tags_namespacing_imp-abo): adapt views accordingly
also skip the little toggle() trick - it's kinda overkill bzr revid: abo@openerp.com-20120712131002-lj085r2moshptbts
This commit is contained in:
@@ -44,7 +44,7 @@ openerp.project = function(openerp) {
|
||||
dataset.read_slice(['id', 'name']).then(function(result) {
|
||||
_.each(result, function(v, k) {
|
||||
// Set the proper value in the DOM and display the element
|
||||
self.$element.find('span[data-categ_id=' + v.id + ']').text(v.name).toggle();
|
||||
self.$element.find('span[data-categ_id=' + v.id + ']').text(v.name);
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user