dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20502
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9377: possible fix for online-offline detection
------------------------------------------------------------
revno: 9377
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-12-20 12:51:02 +0100
message:
possible fix for online-offline detection
modified:
dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/base.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/webapp/WEB-INF/dhis-web-mobile-velocity/base.vm'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/base.vm 2012-12-19 12:36:54 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/base.vm 2012-12-20 11:51:02 +0000
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<html manifest="$contextPath/mobile/app-cache">
-<!-- <html> -->
+<!-- <html manifest="$contextPath/mobile/app-cache"> -->
+<html>
<head>
<title>DHIS 2</title>
=== 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-12-20 10:35:38 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/index.vm 2012-12-20 11:51:02 +0000
@@ -7,7 +7,7 @@
function checkOnlineStatus() {
return $.ajax({
- url: '$contextPath/mobile',
+ url: '$contextPath/mobile/messages',
type: 'POST'
}).error(function() {
onlineStatus = false;