parent
9e6a264f5f
commit
ed727ad424
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ angular.module('quay').directive('credentialsDialog', function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.getEscapedUsername = function(credentials) {
|
$scope.getEscapedUsername = function(credentials) {
|
||||||
return credentials.username.replace(/[^a-zA-Z0-9]/, '-');
|
return credentials.username.replace(/[^a-zA-Z0-9]/g, '-');
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.getSuffixedFilename = function(credentials, suffix) {
|
$scope.getSuffixedFilename = function(credentials, suffix) {
|
||||||
|
|
Reference in a new issue