grim/port-authority
Clone
Summary
Browse
Changes
Graph
null out everything when refreshing
develop
2014-12-09, Gary Kramlich
6a3943520ae7
Parents
da2bb7b88256
Children
11dff61f723a
null out everything when refreshing
1 files changed, 5 insertions(+), 0 deletions(-)
+5
-0
js/app.js
--- a/js/app.js Tue Dec 09 01:32:43 2014 -0600
+++ b/js/app.js Tue Dec 09 01:36:01 2014 -0600
@@ -47,6 +47,11 @@
$scope.clipboard = null;
$scope.refresh = function() {
+ $scope.repos = null;
+ $scope.repo = null;
+ $scope.tags = null;
+ $scope.clipboard = null;
+
if($scope.registry.indexOf("http://") !== 0 && $scope.registry.indexOf("http://") !== 0) {
$scope.registry = "http://" + $scope.registry;
}