From f12d3c7d30775d949bf26ad3c0cff436910e7821 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Tue, 11 Dec 2012 13:37:14 -0500 Subject: [PATCH] fixed variable reference --- openid-connect-server/src/main/webapp/resources/js/admin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openid-connect-server/src/main/webapp/resources/js/admin.js b/openid-connect-server/src/main/webapp/resources/js/admin.js index 943627ed6..bfb9734ad 100644 --- a/openid-connect-server/src/main/webapp/resources/js/admin.js +++ b/openid-connect-server/src/main/webapp/resources/js/admin.js @@ -533,7 +533,7 @@ // build the grant type object var authorizedGrantTypes = []; - $.each(authorizedGrantMap,function(index,type) { + $.each(this.authorizedGrantMap, function(index,type) { if ($('#authorizedGrantTypes-' + index).is(':checked')) { authorizedGrantTypes.push(type); } @@ -541,7 +541,7 @@ var allowRefresh = $('#allowRefresh').is(':checked'); if (allowRefresh) { - authorizedGrantTypes.push(authorizedGrantMap('refresh_token')); + authorizedGrantTypes.push(this.authorizedGrantMap['refresh_token']); scopes.push("offline"); }