removed extraneous data checks from resource registration

pull/618/head
Justin Richer 2014-06-09 17:41:48 -04:00
parent 53148f2c87
commit bafd951dac
1 changed files with 0 additions and 16 deletions

View File

@ -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) {