From e0d7d998c2025fdb8ed1caf4303f754e05164c97 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 11 Feb 2014 10:28:23 +0100 Subject: [PATCH] Bug 11737: (follow-up) remove extra fnReloadAjax.js the file dataTables.fnReloadAjax.js exists in the interface and themelang directories. It is only used in quotes.tt. So the unused one can be removed. test plan: git grep fnReloadAjax.js should return only 1 ref (quotes.tt) Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- .../jquery/plugins/dataTables.fnReloadAjax.js | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/dataTables.fnReloadAjax.js diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/dataTables.fnReloadAjax.js b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/dataTables.fnReloadAjax.js deleted file mode 100644 index 0eac52a549..0000000000 --- a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/dataTables.fnReloadAjax.js +++ /dev/null @@ -1,50 +0,0 @@ -$.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallback, bStandingRedraw ) -{ - if ( typeof sNewSource != 'undefined' && sNewSource != null ) - { - oSettings.sAjaxSource = sNewSource; - } - this.oApi._fnProcessingDisplay( oSettings, true ); - var that = this; - var iStart = oSettings._iDisplayStart; - var aData = []; - - this.oApi._fnServerParams( oSettings, aData ); - - oSettings.fnServerData( oSettings.sAjaxSource, aData, function(json) { - /* Clear the old information from the table */ - that.oApi._fnClearTable( oSettings ); - - /* Got the data - add it to the table */ - var aData = (oSettings.sAjaxDataProp !== "") ? - that.oApi._fnGetObjectDataFn( oSettings.sAjaxDataProp )( json ) : json; - - for ( var i=0 ; i