← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17969: Minor fix, clear out correct ou selected key from session-storage

 

------------------------------------------------------------
revno: 17969
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-01-14 11:26:26 +0700
message:
  Minor fix, clear out correct ou selected key from session-storage
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.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/security/login.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.js	2013-10-29 09:37:23 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.js	2015-01-14 04:26:26 +0000
@@ -10,7 +10,7 @@
     {
         $( '#submit' ).attr( 'disabled', 'disabled' );
 
-        sessionStorage.removeItem( 'orgUnitSelected' );
+        sessionStorage.removeItem( 'ouSelected' );
     } );
     
     var locale = localStorage[login.localeKey];