[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:
Xavier Morel 2011-06-08 16:58:50 +02:00
parent a905ab7f17
commit be26be0d7c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {