grim/port-authority
Clone
Summary
Browse
Changes
Graph
remove the error on refresh of anything
feature/semantic-ui
2015-03-12, Gary Kramlich
fc05a486d46f
Parents
0d3c2a1af313
Children
9d3e4bbe78f4
remove the error on refresh of anything
1 files changed, 3 insertions(+), 0 deletions(-)
+3
-0
js/app.js
--- a/js/app.js Thu Mar 12 23:51:10 2015 -0500
+++ b/js/app.js Thu Mar 12 23:52:58 2015 -0500
@@ -41,6 +41,7 @@
$scope.ga_tracker.sendAppView("main");
$scope.refresh = function() {
+ $scope.error = null;
$scope.repos = null;
$scope.repo = null;
$scope.tags = null;
@@ -88,6 +89,8 @@
};
$scope.select_repo = function(repo) {
+ $scope.error = null;
+
if(repo === $scope.repo) {
return;
}