← Back to team overview

dhis-mobile-devs team mailing list archive

[Branch ~dhis-mobile-devs/dhis-mobile/lwuit-tracking] Rev 237: Fix bug: clicking relative link will lead the client to hang on "please wait..."

 

------------------------------------------------------------
revno: 237
committer: sherylyn.marie
branch nick: lwuit-tracking
timestamp: Thu 2014-09-11 21:17:55 +0800
message:
  Fix bug: clicking relative link will lead the client to hang on "please wait..."
modified:
  src/org/hisp/dhis/mobile/view/PersonDashboardView.java


--
lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking
https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking

Your team DHIS mobile developers is subscribed to branch lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking/+edit-subscription
=== modified file 'src/org/hisp/dhis/mobile/view/PersonDashboardView.java'
--- src/org/hisp/dhis/mobile/view/PersonDashboardView.java	2014-09-03 11:23:09 +0000
+++ src/org/hisp/dhis/mobile/view/PersonDashboardView.java	2014-09-11 13:17:55 +0000
@@ -475,7 +475,7 @@
                         patient = null;
                         namebasedMidlet.getWaitingView().showView();
                         ConnectionManager.setUrl( namebasedMidlet.getCurrentOrgUnit().getFindPatientUrl() );
-                        ConnectionManager.findPatientByName( relationship.getPersonBId() + "" );
+                        ConnectionManager.getPatientById( relationship.getPersonBId() + "", previousScreen, null );
                     }
                 } );