Skip to content

Commit

Permalink
Fixes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelfc committed Apr 20, 2017
1 parent c8ce2b0 commit 8813e64
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,14 @@ angular.module('marbleCoreApp')
};

$scope.rebootExtraction = function () {
$scope.topic.lowerLimit = $scope.topic.upperLimit;
$scope.topic.upperLimit = "";
$scope.update();
$scope.extract();
TopicInfoFactory.show({name: $stateParams.topicName}).$promise.then(function(data) {
if (data.newestPostId) {
$scope.topic.lowerLimit = data.newestPostId;
$scope.topic.upperLimit = "";
$scope.update();
$scope.extract();
}
});
};

$scope.deletePostsByTopic = function () {
Expand Down

0 comments on commit 8813e64

Please sign in to comment.