From d0ed9d1fa7f52649926e7a253ef359907e533e96 Mon Sep 17 00:00:00 2001 From: "Justin F. Hallett" Date: Mon, 8 Sep 2014 16:31:46 -0600 Subject: [PATCH] Switch form focus to focusout, this allows the focus to stay if the cursor leaves the table, though it will commit the change and refocus --- js/widgets/widget-editable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/widgets/widget-editable.js b/js/widgets/widget-editable.js index e1f14886..cbce23bf 100644 --- a/js/widgets/widget-editable.js +++ b/js/widgets/widget-editable.js @@ -101,7 +101,7 @@ if ( c.$table.data('contentFocused') ) { // change to "true" instead of element to allow focusout to process c.$table.data( 'contentFocused', true ); - $(':focus').trigger('blur'); + $(':focus').trigger('focusout'); } }) .on('focus.tseditable', '[contenteditable]', function(e){