From bafd951dac3f755f45f5d25b0f1e2571b50a0118 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Mon, 9 Jun 2014 17:41:48 -0400 Subject: [PATCH] removed extraneous data checks from resource registration --- .../src/main/webapp/resources/js/rsreg.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/openid-connect-server-webapp/src/main/webapp/resources/js/rsreg.js b/openid-connect-server-webapp/src/main/webapp/resources/js/rsreg.js index f87200685..5d4259f47 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/js/rsreg.js +++ b/openid-connect-server-webapp/src/main/webapp/resources/js/rsreg.js @@ -293,22 +293,6 @@ var ResRegEditView = Backbone.View.extend({ // build the scope object var scopes = this.scopeCollection.pluck("item").join(" "); - // build the grant type object - var grantTypes = []; - $.each(this.grantMap, function(index,type) { - if ($('#grantTypes-' + index).is(':checked')) { - grantTypes.push(type); - } - }); - - // build the response type object - var responseTypes = []; - $.each(this.responseMap, function(index,type) { - if ($('#responseTypes-' + index).is(':checked')) { - responseTypes.push(type); - } - }); - var contacts = this.contactsCollection.pluck('item'); var userInfo = getUserInfo(); if (userInfo && userInfo.email) {