[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:
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user