OAuth flow only selected scopes should be sent to Authorize endpoint #1388.

Need to clear out previous popupDialog nodes, so previous checkboxes won't be considered.
This commit is contained in:
Tom Baker
2015-06-19 13:29:45 -05:00
parent eefec8db0b
commit 340da086ba

View File

@@ -40,6 +40,7 @@ function handleLogin() {
appName = window.swaggerUi.api.info.title;
}
$('.api-popup-dialog').remove();
popupDialog = $(
[
'<div class="api-popup-dialog">',