[FIX] property name for click even in jQuery is 'click', not 'onclick' and Firefox...
authorXavier Morel <xmo@openerp.com>
Wed, 8 Jun 2011 14:58:50 +0000 (16:58 +0200)
committerXavier Morel <xmo@openerp.com>
Wed, 8 Jun 2011 14:58:50 +0000 (16:58 +0200)
bzr revid: xmo@openerp.com-20110608145850-9fvq4celpj1v4ept

addons/base/static/src/js/list-editable.js

index 9bbde25..f7eb3e2 100644 (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) {