[FIX] pressing [ESC] while in an editable listview in a dialog should not close the dialog
bzr revid: xmo@openerp.com-20120123143614-c2cw93asd6n5qfqs
This commit is contained in:
@@ -212,7 +212,8 @@ openerp.web.list_editable = function (openerp) {
|
||||
e.stopImmediatePropagation();
|
||||
})
|
||||
.keyup(function () {
|
||||
return self.on_row_keyup.apply(self, arguments); });
|
||||
return self.on_row_keyup.apply(self, arguments); })
|
||||
.keydown(function (e) { e.stopPropagation(); });
|
||||
if (row) {
|
||||
$new_row.replaceAll(row);
|
||||
} else if (self.options.editable) {
|
||||
|
||||
Reference in New Issue
Block a user