From 8d058bb0ee2cdd9050ace3a27e5af9ee69e6f808 Mon Sep 17 00:00:00 2001 From: cmaus Date: Wed, 30 Apr 2014 12:29:01 +0200 Subject: [PATCH] Fix #917: Emit dgrid-cellfocusout from correct element --- Keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Keyboard.js b/Keyboard.js index 03f3cc308..dbcd9a871 100644 --- a/Keyboard.js +++ b/Keyboard.js @@ -316,7 +316,7 @@ var Keyboard = declare(null, { // Expose object representing focused cell or row losing focus, via // event.cell or event.row; which is set depends on cellNavigation. event[cellOrRowType] = this[cellOrRowType](focusedNode); - on.emit(element, "dgrid-cellfocusout", event); + on.emit(focusedNode, "dgrid-cellfocusout", event); } focusedNode = this[focusedNodeProperty] = element;