------------------------------------------------------------
revno: 4341
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Wed 2011-08-17 18:56:58 +0200
message:
  removed debug info from ouwt
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-08-17 16:50:12 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-08-17 16:56:58 +0000
@@ -96,14 +96,11 @@
         } ).complete(
                 function()
                 {
-                    // if ( should_update )
-                    if ( true )
+                    if ( should_update )
                     {
-                        console.log( "Hello" );
                         $.get( '../dhis-web-commons-ajax-json/getOrganisationUnitTree.action',
                                 function( data, textStatus, jqXHR )
                                 {
-                                    console.log( data );
                                     localStorage[getTagId( "Roots" )] = JSON.stringify( data.roots );
                                     localStorage[getTagId( "Version" )] = data.version;
                                     localStorage["organisationUnits"] = JSON.stringify( data.organisationUnits );

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to