=== 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-12 15:07:34 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2011-08-12 16:09:52 +0000
@@ -40,10 +40,10 @@
{
jQuery( "body" ).bind( "ajaxComplete", function( e, xhr, settings )
{
- if ( settings.url.indexOf( "getOrganisationUnitTree" ) )
+ if ( settings.url.indexOf( "getOrganisationUnitTree" ) && settings.data === undefined )
{
selection.responseReceived();
- jQuery( "body" ).unbind( "ajaxSuccess" );
+ jQuery( "body" ).unbind( "ajaxComplete" );
}
} );
}
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml 2011-08-08 17:57:47 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml 2011-08-12 16:09:52 +0000
@@ -16,7 +16,7 @@
420
../dhis-web-commons/ouwt/ouwt.js,javascript/form.js,javascript/entry.js,javascript/history.js
style/dhis-web-dataentry.css
- true
+ false