From 92ce6487f2fec02142ada0244a48b39fc03533d7 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 2 Feb 2012 07:06:33 +0000 Subject: [PATCH] DataTables 1.9.1 development begins Fix: When using full numbers pagination in IE and clicking upon one of the numbers in the paging control, a Javascript error would occur due to trying to blur an element that was no longer in the DOM --- media/js/jquery.dataTables.js | 6 +++--- media/src/DataTables.js | 4 ++-- media/src/core/core.support.js | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 35b8d1b5..d3935b4b 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -1,7 +1,7 @@ /** * @summary DataTables * @description Paginate, search and sort HTML tables - * @version 1.9.0 + * @version 1.9.1.dev * @file jquery.dataTables.js * @author Allan Jardine (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact @@ -4609,8 +4609,8 @@ { $(n) .bind( 'click.DT', oData, function (e) { - fn(e); n.blur(); // Remove focus outline for mouse users + fn(e); } ) .bind( 'keypress.DT', oData, function (e){ if ( e.which === 13 ) { @@ -6542,7 +6542,7 @@ * @type string * @default Version number */ - DataTable.version = "1.9.0"; + DataTable.version = "1.9.1.dev"; /** * Private data store, containing all of the settings objects that are created for the diff --git a/media/src/DataTables.js b/media/src/DataTables.js index 646d3a6d..83fa90e6 100644 --- a/media/src/DataTables.js +++ b/media/src/DataTables.js @@ -1,7 +1,7 @@ /** * @summary DataTables * @description Paginate, search and sort HTML tables - * @version 1.9.0 + * @version 1.9.1.dev * @file jquery.dataTables.js * @author Allan Jardine (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact @@ -91,7 +91,7 @@ * @type string * @default Version number */ - DataTable.version = "1.9.0"; + DataTable.version = "1.9.1.dev"; /** * Private data store, containing all of the settings objects that are created for the diff --git a/media/src/core/core.support.js b/media/src/core/core.support.js index 33e22994..39315577 100644 --- a/media/src/core/core.support.js +++ b/media/src/core/core.support.js @@ -198,8 +198,8 @@ function _fnBindAction( n, oData, fn ) { $(n) .bind( 'click.DT', oData, function (e) { - fn(e); n.blur(); // Remove focus outline for mouse users + fn(e); } ) .bind( 'keypress.DT', oData, function (e){ if ( e.which === 13 ) { diff --git a/package.json b/package.json index 27b58b8a..4b0f3921 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "DataTables", - "version": "1.9.0", + "version": "1.9.1.dev", "title": "DataTables", "author": { "name": "Allan Jardine",