Skip to content

Commit

Permalink
Merge pull request #2243 from K1ll3rF0x/bug/issue-2238
Browse files Browse the repository at this point in the history
Fix issue #2238
  • Loading branch information
webron authored Jun 28, 2016
2 parents 6d09368 + ee43bcf commit 23bb103
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/javascript/view/AuthButtonView.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ SwaggerUi.Views.AuthButtonView = Backbone.View.extend({
content: this.$authEl
};

// The content of the popup is removed and all events unbound after clicking the 'Cancel' button of the popup.
// We'll have to re-render the contents before creating a new popup view.
this.render();

this.popup = new SwaggerUi.Views.PopupView({model: authsModel});
this.popup.render();
},
Expand Down

0 comments on commit 23bb103

Please sign in to comment.