------------------------------------------------------------
revno: 10598
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Wed 2013-04-17 15:53:47 +0700
message:
  minor fixes
modified:
  
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.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-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js	2013-04-17 08:45:28 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js	2013-04-17 08:53:47 +0000
@@ -89,9 +89,8 @@
         if ( json.response == 'success' ) {
             DAO.offlineData.remove( item.key, function ( store ) {
                 showOfflineEvents();
+                searchEvents( eval( getFieldValue( 'listAll' ) ) );
             } );
-        } else {
-
         }
     });
 }
@@ -710,6 +709,7 @@
     hideById( 'selectDiv' );
     hideById( 'searchDiv' );
     hideById( 'listDiv' );
+    hideById( 'offlineListDiv' );
     setFieldValue( 'programStageInstanceId', programStageInstanceId );
     setInnerHTML( 'dataEntryFormDiv', '' );
     showLoader();

_______________________________________________
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