=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js 2011-08-23 10:07:58 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js 2011-08-25 09:02:12 +0000 @@ -49,7 +49,7 @@ { $.ajax( { url : "../dhis-web-commons-stream/ping.action", - cache : false, + type : 'POST', success : function( data, textStatus, jqXHR ) { dhis2.availability._isAvailable = true; @@ -106,6 +106,7 @@ url : "../dhis-web-commons-stream/ping.action", async : false, cache : false, + type : 'POST', success : function( data, textStatus, jqXHR ) { dhis2.availability._isAvailable = true; === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2011-08-19 10:36:08 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2011-08-25 09:02:12 +0000 @@ -85,7 +85,7 @@ var version = localStorage[getTagId( "Version" )]; var should_update = false; - $.get( '../dhis-web-commons-ajax-json/getOrganisationUnitTree.action', { + $.post( '../dhis-web-commons-ajax-json/getOrganisationUnitTree.action', { "versionOnly" : true }, function( data, textStatus, jqXHR ) { @@ -103,7 +103,7 @@ { if ( should_update ) { - $.get( '../dhis-web-commons-ajax-json/getOrganisationUnitTree.action', + $.post( '../dhis-web-commons-ajax-json/getOrganisationUnitTree.action', function( data, textStatus, jqXHR ) { localStorage[getTagId( "Roots" )] = JSON.stringify( data.roots ); === 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 2011-08-24 12:23:30 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2011-08-25 09:02:12 +0000 @@ -59,6 +59,10 @@ */ $( document ).ready( function() { + $.ajaxSetup({ + type: 'POST' + }); + selection.setListenerFunction( organisationUnitSelected ); $( '#loaderSpan' ).show();