diff --git a/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/datacontroller.js b/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/datacontroller.js index e0e1e1df1aaa331fd13d235e28b5c3e32e240bfd..0bcf78516f78b09ddcb0c5853dc1dc78e58759db 100644 --- a/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/datacontroller.js +++ b/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/datacontroller.js @@ -139,7 +139,7 @@ angular.module('raeApp').factory("dataService", ['$http', function($http){ }; self._syncLofarTimeWithServer = function() { - $http.get('/rest/lofarTime').success(function(result) { + $http.get('/rest/lofarTime', {timeout:1000}).success(function(result) { self.lofarTime = new Date(result.lofarTime); });