Browse Source

removed blur detection, started work on alternative

pull/730/head
Justin Richer 10 years ago
parent
commit
d9d9903c55
  1. 1
      openid-connect-server-webapp/src/main/webapp/resources/js/admin.js
  2. 4
      openid-connect-server-webapp/src/main/webapp/resources/js/client.js

1
openid-connect-server-webapp/src/main/webapp/resources/js/admin.js

@ -137,7 +137,6 @@ var ListWidgetView = Backbone.View.extend({
events:{
"click .btn-add-list-item":"addItem",
"blur input": "addItem",
"keypress":function (e) {
// trap the enter key
if (e.which == 13) {

4
openid-connect-server-webapp/src/main/webapp/resources/js/client.js

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

Loading…
Cancel
Save