|
|
|
@ -801,11 +801,11 @@ var ClientFormView = Backbone.View.extend({
|
|
|
|
|
$('.control-group').removeClass('error'); |
|
|
|
|
|
|
|
|
|
// build the scope object
|
|
|
|
|
var scopes = this.scopeCollection.pluck("item"); |
|
|
|
|
var extraScope = $('#scope input').val(); |
|
|
|
|
if (extraScope) { |
|
|
|
|
this.scopeCollection.add(new ListWidgetItem(extraScope)); |
|
|
|
|
scopes.push(extraScope); |
|
|
|
|
} |
|
|
|
|
var scopes = this.scopeCollection.pluck("item"); |
|
|
|
|
|
|
|
|
|
// build the grant type object
|
|
|
|
|
var grantTypes = []; |
|
|
|
|