[auth] fixed display of scopes in auth button, added highlight of empty field
This commit is contained in:
@@ -51,6 +51,8 @@ SwaggerUi.Views.AuthView = Backbone.View.extend({
|
||||
|
||||
if (this.authsCollectionView.collection.isValid()) {
|
||||
this.authorize();
|
||||
} else {
|
||||
this.authsCollectionView.highlightInvalid();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user