Revert "CC-4605: Some AJAX calls are cached"
This reverts commit ffca5b42a8
.
This commit is contained in:
parent
e88e3a3df2
commit
d5c2c37a3e
8 changed files with 5 additions and 28 deletions
|
@ -24,19 +24,13 @@ function populateForm(entries){
|
|||
}
|
||||
|
||||
function rowClickCallback(row_id){
|
||||
$.ajax({ cache: false,
|
||||
url: '/User/get-user-data/id/'+ row_id +'/format/json',
|
||||
dataType:"json",
|
||||
success:function(data){
|
||||
$.ajax({ url: '/User/get-user-data/id/'+ row_id +'/format/json', dataType:"json", success:function(data){
|
||||
populateForm(data.entries);
|
||||
}});
|
||||
}
|
||||
|
||||
function removeUserCallback(row_id, nRow){
|
||||
$.ajax({ cache: false,
|
||||
url: '/User/remove-user/id/'+ row_id +'/format/json',
|
||||
dataType:"text",
|
||||
success:function(data){
|
||||
$.ajax({ url: '/User/remove-user/id/'+ row_id +'/format/json', dataType:"text", success:function(data){
|
||||
var o = $('#users_datatable').dataTable().fnDeleteRow(nRow);
|
||||
}});
|
||||
}
|
||||
|
@ -73,7 +67,6 @@ $(document).ready(function() {
|
|||
"sAjaxSource": "/User/get-user-data-table-info/format/json",
|
||||
"fnServerData": function ( sSource, aoData, fnCallback ) {
|
||||
$.ajax( {
|
||||
"cache": false,
|
||||
"dataType": 'json',
|
||||
"type": "POST",
|
||||
"url": sSource,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue