Merge branch 'master' of github.com:sharelatex/web-sharelatex

This commit is contained in:
James Allen 2014-07-30 15:45:17 +01:00
commit eb483e0ecf

View file

@ -38,10 +38,10 @@ define [
$timeout calculatePollTime, 60 * 1000 $timeout calculatePollTime, 60 * 1000
ide.socket.emit "getUserDropboxLinkStatus", user_id, (err, status)=> ide.socket.emit "getUserDropboxLinkStatus", user_id, (err, status)=>
$scope.dbState.gotLinkStatus = true
if status.registered if status.registered
calculatePollTime() calculatePollTime()
$scope.dbState.userIsLinkedToDropbox = true $scope.dbState.userIsLinkedToDropbox = true
$scope.dbState.gotLinkStatus = true
cachedState = $scope.dbState cachedState = $scope.dbState
$scope.linkToDropbox = -> $scope.linkToDropbox = ->