← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8876: mobile: minor fix

 

------------------------------------------------------------
revno: 8876
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-05 13:16:28 +0100
message:
  mobile: minor fix
modified:
  dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache
  dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/index.vm


--
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-mobile/src/main/resources/dhis-mobile-manifest.appcache'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache	2012-11-05 11:44:21 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache	2012-11-05 12:16:28 +0000
@@ -1,5 +1,5 @@
 CACHE MANIFEST
-# Version: 28
+# Version: 29
 
 CACHE:
 ../mobile/index

=== modified file 'dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/index.vm'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/index.vm	2012-11-05 11:44:21 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/index.vm	2012-11-05 12:16:28 +0000
@@ -49,7 +49,6 @@
         });
 
         $('body').bind('dhis2.online', function() {
-            /*
             if( loggedInStatus ) {
                 fm.uploadDataValueSets().always(function() {
                     updateMenu();
@@ -60,14 +59,6 @@
                     });
                 });
             }
-            */
-
-            updateMenu();
-            renderOfflineStatus();
-
-            getDashboard().always(function() {
-                $('section[data-role="content"] ul').listview('refresh');
-            });
         });
 
         $('body').bind('dhis2.offline', function() {