------------------------------------------------------------
revno: 17389
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2
timestamp: Sat 2014-11-08 00:27:55 +0100
message:
  Ouwt, fix
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	2014-11-07 11:00:39 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2014-11-07 23:27:55 +0000
@@ -401,8 +401,6 @@
                 subtree.reloadTree();
             } );
         } else {
-            selection.busy( true );
-
             function doSync() {
                 $.ajax( {
                     url: organisationUnitTreePath + "clearselected.action",
@@ -442,6 +440,8 @@
                     selection.busy( false );
                 });
             }
+            
+          selection.busy( true );
 
           if( selection.getSelected() && selection.getSelected().length === 0 ) {
               setTimeout(doSync, 1000);

_______________________________________________
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