fnReloadAjax plugin fails then page reloads

fnReloadAjax plugin fails then page reloads

grutzgrutz Posts: 6Questions: 1Answers: 0
edited August 2011 in DataTables 1.8
Starting with DataTables 1.8 when I use the fnReloadAjax() plugin to update a table's data using the existing source the following error occurs:

[code]
d is undefined
http://localhost/static/js/jquery.dataTables-1.8.1-min.js
Line 38
[/code]

Line 38 is:

this.iCookieDuration=7200;this.sCookiePrefix="SpryMedia_DataTables_";this.fnCookieCallback=null;this.aoStateSave=[];this.aoStateLoad=[];this.sAjaxSource=this.oLoadedState=null;this.sAjaxDataProp="aaData";this.bAjaxDataGet=true;this.jqXHR=null;this.fnServerData=function(a,b,c,d){d.jqXHR=i.ajax({url:a,data:b,success:c,dataType:"json",cache:false,error:function(f,e){e=="parsererror"&&alert("DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.")}})};

This didn't happen with DataTables 1.7

Replies

  • leprimoleprimo Posts: 25Questions: 4Answers: 0
    Same issue here with 1.8.1

    any ideas?
  • leprimoleprimo Posts: 25Questions: 4Answers: 0
    sorry...
    now I see there is a new version of fnReloadAjax-API.
    Works well !!
This discussion has been closed.