← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17685: Disabling cache in data entry. IE caches too aggressively.

 

------------------------------------------------------------
revno: 17685
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-12-09 12:19:30 +0200
message:
  Disabling cache in data entry. IE caches too aggressively.
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2014-11-29 13:55:43 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2014-12-09 10:19:30 +0000
@@ -255,7 +255,6 @@
     $.ajax( {
     	url: 'getMetaData.action',
     	dataType: 'json',
-    	cache: true,
     	success: function( json )
 	    {
 	        sessionStorage[dhis2.de.cst.metaData] = JSON.stringify( json.metaData );
@@ -286,7 +285,6 @@
 	$.ajax( {
     	url: 'getDataSetAssociations.action',
     	dataType: 'json',
-    	cache: true,
     	success: function( json )
 	    {
 	        sessionStorage[dhis2.de.cst.dataSetAssociations] = JSON.stringify( json.dataSetAssociations );