fnReloadAjax causing popups?

fnReloadAjax causing popups?

StpdudeStpdude Posts: 30Questions: 0Answers: 0
edited February 2013 in General
So i posted this question before and got 0 replies, but as my codes changed significantly since i posted that im making a new one with the newer code in it. So heres my problem, its all working as it should except when i hit delete, and it rusn my process, removes the entry, and i try to follow with [code] oTable.fnReloadAjax()[/code] it does...but pops up saying 'false' a number of times in the process. I am not sure what is causing it or what to do to fix it.

here is my current code:
[code]


$(document).ready(function(){
var oTable = $('#dataTable').dataTable({
"bProcessing": true,
"bJQueryUI": true,
"bPaginate": true,
"sPaginationType": "full_numbers",
"iDisplayLength": 10,
"sDom": 'pT<>rt',
"sAjaxSource": 'dataTable/getCmsGroupData',
"aoColumns": [
{ "mData": "id", "sTitle": "ID",
"fnRender": function (oObj) {
return '' + oObj.aData["id"] + '';
}},
{ "mData": "version", "sTitle":"Version" },
{ "mData": "name", "sTitle": "Name" },
{ "mData": "description", "sTitle": "Description"},
{ "mData": "notes", "sTitle": "Notes"},
],
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [{
"sExtends": "ajax",
"bSelectedOnly": "true",
"sButtonText": "Delete Selected",
"mColumns": [0],
"bHeader": false,
"sAjaxUrl": "dataTable/delete/cmsGroup",
"fnAjaxComplete": function ( XMLHttpRequest, textStatus ) {
oTable.fnReloadAjax();
}//delete button
},
"select_all",
"select_none",
{
"sExtends": "text",
"sButtonText": "Create New Entry",
"fnClick": function ( nButton, oConfig, oFlash ) {
window.location = "cmsgroup_add";
}
}
]//add button
}//table tools
});
}); //function




CMS Group











[/code]

Any clues?

Replies

This discussion has been closed.