← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5570: minor fix in ouwt, should behave corretly now (and still allow unselect on root for maint-orgunit)

 

------------------------------------------------------------
revno: 5570
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-12-23 10:19:31 +0100
message:
  minor fix in ouwt, should behave corretly now (and still allow unselect on root for maint-orgunit)
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.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/dhis-web-commons/ouwt/ouwt.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-12-20 08:33:04 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-12-23 09:19:31 +0000
@@ -89,6 +89,10 @@
                         sessionStorage[getTagId( "Selected" )] = roots[0];
                     }
                 }
+                else
+                {
+                    selection.sync( true );
+                }
             }
 
             organisationUnits = JSON.parse( localStorage["organisationUnits"] );