[FIX] clicking on checkbox (boolean field) of list view should correctly trigger whatever the row action is
replaced @disabled checkboxes for boolean fields by @readonly + alpha (50%), as disabled input do not generate *any* event. Not default action (of course) but not e.g. a click either, whether delegated or bound directly on the element, there's no way at all to see if e.g. a user has clicked on a disabled checkbox or radio. lp bug: https://launchpad.net/bugs/1013569 fixed bzr revid: xmo@openerp.com-20121113131806-7fhog1f96gxnjr67
This commit is contained in:
@@ -2731,6 +2731,10 @@
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_list_checkbox:first-child:after, .openerp .oe_list_content > tbody > tr th.oe_list_checkbox:first-child:after {
|
||||
border-width: 0;
|
||||
}
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_list_field_boolean input {
|
||||
filter: alpha(opacity=50);
|
||||
opacity: 0.5;
|
||||
}
|
||||
.openerp .oe_list_content > tbody > tr:nth-child(odd) {
|
||||
background-color: #f0f0fa;
|
||||
background-color: #f0f0fa;
|
||||
|
||||
Reference in New Issue
Block a user