← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 4456
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-08-26 14:20:24 +0200
message:
  minor fix
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.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-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js	2011-08-26 11:43:31 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js	2011-08-26 12:20:24 +0000
@@ -50,6 +50,7 @@
         $.ajax( {
             url : "../dhis-web-commons-stream/ping.action",
             cache : false,
+            timeout: 5000,
     		dataType : "json",
             success : function( data, textStatus, jqXHR )
             {
@@ -108,6 +109,7 @@
         url : "../dhis-web-commons-stream/ping.action",
         async : false,
         cache : false,
+        timeout: 5000,
     	dataType : "json",
         success : function( data, textStatus, jqXHR )
         {