dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19898
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8873: mobile: minor change.. for testing purpose
------------------------------------------------------------
revno: 8873
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-05 12:44:21 +0100
message:
mobile: minor change.. for testing purpose
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/data-entry.vm
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 10:57:09 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache 2012-11-05 11:44:21 +0000
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# Version: 27
+# Version: 28
CACHE:
../mobile/index
=== modified file 'dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/data-entry.vm'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/data-entry.vm 2012-10-31 18:22:26 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/data-entry.vm 2012-11-05 11:44:21 +0000
@@ -232,7 +232,7 @@
dataValueSet.dataValues = dataValues;
- fm.saveDataValueSet( dataValueSet ).always(function() {
+ fm.saveDataValueSet( dataValueSet ).complete(function() {
$.mobile.loading( 'hide' );
location.href = '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-10-30 14:02:06 +0000
+++ 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
@@ -49,6 +49,7 @@
});
$('body').bind('dhis2.online', function() {
+ /*
if( loggedInStatus ) {
fm.uploadDataValueSets().always(function() {
updateMenu();
@@ -59,6 +60,14 @@
});
});
}
+ */
+
+ updateMenu();
+ renderOfflineStatus();
+
+ getDashboard().always(function() {
+ $('section[data-role="content"] ul').listview('refresh');
+ });
});
$('body').bind('dhis2.offline', function() {