diff --git a/openid-connect-server-webapp/src/main/webapp/resources/js/scope.js b/openid-connect-server-webapp/src/main/webapp/resources/js/scope.js index aab32c87e..58e067781 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/js/scope.js +++ b/openid-connect-server-webapp/src/main/webapp/resources/js/scope.js @@ -158,13 +158,11 @@ var SystemScopeListView = Backbone.View.extend({ }, newScope:function(e) { - e.preventDefault(); this.remove(); app.navigate('admin/scope/new', {trigger: true}); }, refreshTable:function(e) { - e.preventDefault(); var _self = this; $('#loadingbox').sheet('show'); $('#loading').html('Scopes '); @@ -257,7 +255,6 @@ var SystemScopeFormView = Backbone.View.extend({ }, toggleStructuredParamDescription:function(e) { - e.preventDefault(); if ($('#isStructured input', this.el).is(':checked')) { $('#structuredParamDescription', this.el).show(); } else { @@ -329,7 +326,7 @@ var SystemScopeFormView = Backbone.View.extend({ selectIcon:function(e) { e.preventDefault(); - var icon = event.target.value; + var icon = e.target.value; $('#iconDisplay input').val(icon); $('#iconDisplay span').html(icon); diff --git a/openid-connect-server-webapp/src/main/webapp/resources/template/scope.html b/openid-connect-server-webapp/src/main/webapp/resources/template/scope.html index c98fa3b6f..60e3ee229 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/template/scope.html +++ b/openid-connect-server-webapp/src/main/webapp/resources/template/scope.html @@ -59,7 +59,7 @@ <% } %> <%= value %> -
<%= description %>+
<%= description %>