[FIX] property name for click even in jQuery is 'click', not 'onclick' and Firefox does *not* like the wrong one
bzr revid: xmo@openerp.com-20110608145850-9fvq4celpj1v4ept
This commit is contained in:
parent
a905ab7f17
commit
be26be0d7c
|
@ -123,7 +123,7 @@ openerp.base.list.editable = function (openerp) {
|
|||
var $new_row = $('<tr>', {
|
||||
id: _.uniqueId('oe-editable-row-'),
|
||||
'class': $(row).attr('class'),
|
||||
onclick: function (e) {e.stopPropagation();}
|
||||
click: function (e) {e.stopPropagation();}
|
||||
})
|
||||
.keyup(function (e) {
|
||||
switch (e.which) {
|
||||
|
|
Loading…
Reference in New Issue