diff --git a/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee b/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee index 6307516b67..afe4be5c4c 100644 --- a/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee +++ b/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee @@ -38,10 +38,10 @@ define [ $timeout calculatePollTime, 60 * 1000 ide.socket.emit "getUserDropboxLinkStatus", user_id, (err, status)=> + $scope.dbState.gotLinkStatus = true if status.registered calculatePollTime() $scope.dbState.userIsLinkedToDropbox = true - $scope.dbState.gotLinkStatus = true cachedState = $scope.dbState $scope.linkToDropbox = ->