Skip to content
Permalink
Browse files

Fix: Editor in hard edit mode (double click) wouldn't submit an autof…

…ill if no changes where made to the value (i.e. no submit to listen for).

- DD-770
  • Loading branch information...
Allan Jardine
Allan Jardine committed Mar 6, 2019
1 parent a811018 commit e6bb09e0fa2c9a7f769de778c8126c80a15d32e0
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/dataTables.autoFill.js
@@ -732,14 +732,14 @@ $.extend( AutoFill.prototype, {
var editor = dt.editor();

editor
.on( 'submitSuccess.dtaf', function () {
.on( 'submitSuccess.dtaf close.dtaf', function () {
editor.off( '.dtaf');

setTimeout( function () {
that._mouseup( e );
}, 100 );
} )
.on( 'submitComplete.dtaf preSubmitCancelled.dtaf', function () {
.on( 'submitComplete.dtaf preSubmitCancelled.dtaf close.dtaf', function () {
editor.off( '.dtaf');
} );

0 comments on commit e6bb09e

Please sign in to comment.
You can’t perform that action at this time.