diff -u b/misc/tabledrag.js b/misc/tabledrag.js --- b/misc/tabledrag.js +++ b/misc/tabledrag.js @@ -298,13 +298,14 @@ return false; }); - // Similar to the hover event, add a class when the handle is focused. + // Add a class and set blur cleanup when the handle is focused. handle.focus(function () { $(this).addClass('tabledrag-handle-hover'); self.safeBlur = true; }); - // Remove the handle class on blur and fire the same function as a mouseup. + // On blur, fire the same function as a touchend/mouseup. This is used to + // update values after a row has been moved through the keyboard support. handle.blur(function (event) { $(this).removeClass('tabledrag-handle-hover'); if (self.rowObject && self.safeBlur) {