=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js 2014-04-03 11:02:16 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js 2015-08-03 19:32:48 +0000
@@ -136,11 +136,21 @@
{
this.clearSelectedOrganisationUnits = function()
{
- $.ajax({
+ $.ajax( {
url: selectionTreePath + 'clearSelectedOrganisationUnits.action',
async: false
- });
+ } );
};
+
+ this.clearSelectedOrganisationUnitsAndBuildTree = function()
+ {
+ $.ajax( {
+ url: selectionTreePath + 'clearSelectedOrganisationUnits.action',
+ success: function() {
+ selectionTree.buildSelectionTree();
+ }
+ } );
+ }
this.toggle = function( unitId )
{
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm 2015-01-16 09:15:07 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm 2015-08-03 19:32:48 +0000
@@ -5,6 +5,7 @@
+