[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:
Antonin Bourguignon
2012-07-12 15:10:02 +02:00
parent 14a03e0d5e
commit 00a65e0172
4 changed files with 14 additions and 32 deletions
+1 -1
View File
@@ -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);
});
});
},