Revert "CC-4605: Some AJAX calls are cached"

This reverts commit ffca5b42a8.
This commit is contained in:
Martin Konecny 2012-10-19 11:16:42 -04:00
parent e88e3a3df2
commit d5c2c37a3e
8 changed files with 5 additions and 28 deletions

View file

@ -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,