fixed variable reference

pull/263/head
Justin Richer 2012-12-11 13:37:14 -05:00
parent 920777128d
commit f12d3c7d30
1 changed files with 2 additions and 2 deletions

View File

@ -533,7 +533,7 @@
// build the grant type object // build the grant type object
var authorizedGrantTypes = []; var authorizedGrantTypes = [];
$.each(authorizedGrantMap,function(index,type) { $.each(this.authorizedGrantMap, function(index,type) {
if ($('#authorizedGrantTypes-' + index).is(':checked')) { if ($('#authorizedGrantTypes-' + index).is(':checked')) {
authorizedGrantTypes.push(type); authorizedGrantTypes.push(type);
} }
@ -541,7 +541,7 @@
var allowRefresh = $('#allowRefresh').is(':checked'); var allowRefresh = $('#allowRefresh').is(':checked');
if (allowRefresh) { if (allowRefresh) {
authorizedGrantTypes.push(authorizedGrantMap('refresh_token')); authorizedGrantTypes.push(this.authorizedGrantMap['refresh_token']);
scopes.push("offline"); scopes.push("offline");
} }