[FIX] style of listview editable row buttons, remove borders (to match non-editable rows)

bzr revid: xmo@openerp.com-20110603110639-9j17krhnsuf5q1bg
This commit is contained in:
Xavier Morel
2011-06-03 13:06:39 +02:00
parent 6037c0a650
commit 63484a8570
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -543,6 +543,7 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,
padding: 0;
border: none;
background: none;
width: 100%;
}
.openerp .oe-listview .oe-field-cell button:active {
opacity: 0.5;
-3
View File
@@ -453,9 +453,6 @@ openerp.base.form.Widget = openerp.base.Controller.extend({
}
},
update_dom: function() {
if (this.attrs.name === 'someval') {
console.log(this.invisible);
}
this.$element.toggle(!this.invisible);
},
render: function() {
+5
View File
@@ -800,6 +800,11 @@
't-as': this.attr('t-as')
})
.replaceAll(this)
.find('td')
.attr('t-att-class', function (index, value) {
return "(" + value + ") + ' oe-field-cell'";
})
.end()
.before($(document.createElement('td')))
.after($(document.createElement('td')))
.unwrap();