dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16078
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6014: Global disable of caching for jquery ajax requests. Caching gives problems on IE on various uis.
------------------------------------------------------------
revno: 6014
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-02-17 10:37:31 +0100
message:
Global disable of caching for jquery ajax requests. Caching gives problems on IE on various uis.
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.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-commons-resources/src/main/webapp/main.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js 2012-02-13 14:30:59 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js 2012-02-17 09:37:31 +0000
@@ -7,6 +7,13 @@
function pageInit()
{
+ // jQuery ajax setup
+
+ $.ajaxSetup(
+ {
+ cache: false
+ } );
+
// Zebra stripes in lists
$( "table.listTable tbody tr:odd" ).addClass( "listAlternateRow" );