client scopes now added appropriately
parent
51b477679a
commit
57648cd9d5
|
@ -801,11 +801,11 @@ var ClientFormView = Backbone.View.extend({
|
||||||
$('.control-group').removeClass('error');
|
$('.control-group').removeClass('error');
|
||||||
|
|
||||||
// build the scope object
|
// build the scope object
|
||||||
|
var scopes = this.scopeCollection.pluck("item");
|
||||||
var extraScope = $('#scope input').val();
|
var extraScope = $('#scope input').val();
|
||||||
if (extraScope) {
|
if (extraScope) {
|
||||||
this.scopeCollection.add(new ListWidgetItem(extraScope));
|
scopes.push(extraScope);
|
||||||
}
|
}
|
||||||
var scopes = this.scopeCollection.pluck("item");
|
|
||||||
|
|
||||||
// build the grant type object
|
// build the grant type object
|
||||||
var grantTypes = [];
|
var grantTypes = [];
|
||||||
|
|
Loading…
Reference in New Issue