Default to the first credential tab if no cookie

Also removes the credential dialog id, to ensure persistence across
sessions
This commit is contained in:
Sam Chow 2018-04-25 16:01:13 -04:00
parent f89ad30320
commit b5db46ad06
4 changed files with 16 additions and 14 deletions

View file

@ -34,7 +34,6 @@ angular.module('quay').directive('credentialsDialog', function () {
}
$rootScope.credentialsDialogCounter++;
$scope.dialogID = $rootScope.credentialsDialogCounter;
$scope.hide = function() {
$element.find('.modal').modal('hide');