diff --git a/src/js/controller/navigation.js b/src/js/controller/navigation.js index 5adb4b6..0b17d3c 100644 --- a/src/js/controller/navigation.js +++ b/src/js/controller/navigation.js @@ -50,6 +50,10 @@ define(function(require) { $scope.accountOpen = false; }; + // + // Outbox checker + // + $scope.emptyOutbox = function() { var dbType = 'email_OUTBOX', outbox = _.findWhere($scope.folders, {