changed script loading methods to help debugging, fixed subjectype data pull
parent
1fcb67e885
commit
c9b769818e
|
@ -9,7 +9,11 @@
|
|||
<script type="text/javascript" src="resources/js/lib/backbone.js"></script>
|
||||
<script type="text/javascript" src="resources/js/lib/purl.js"></script>
|
||||
<c:if test="${js != null && js != ''}">
|
||||
<script type="text/javascript" src="${js}"></script>
|
||||
<script type="text/javascript" src="resources/js/client.js"></script>
|
||||
<script type="text/javascript" src="resources/js/grant.js"></script>
|
||||
<script type="text/javascript" src="resources/js/scope.js"></script>
|
||||
<script type="text/javascript" src="resources/js/whitelist.js"></script>
|
||||
<script type="text/javascript" src="resources/js/admin.js"></script>
|
||||
</c:if>
|
||||
</body>
|
||||
</html>
|
|
@ -546,11 +546,12 @@ $(function () {
|
|||
jQuery.ajaxSetup({async:false});
|
||||
|
||||
// load up our model and collection classes
|
||||
/*
|
||||
$.get('resources/js/client.js', _load);
|
||||
$.get('resources/js/grant.js', _load);
|
||||
$.get('resources/js/scope.js', _load);
|
||||
$.get('resources/js/whitelist.js', _load);
|
||||
|
||||
*/
|
||||
|
||||
var _load = function (templates) {
|
||||
$('body').append(templates);
|
||||
|
|
|
@ -371,11 +371,12 @@ var ClientFormView = Backbone.View.extend({
|
|||
clientUri: $('#clientUri input').val(),
|
||||
applicationType: $('#applicationType input').filter(':checked').val(),
|
||||
jwksUri: $('#jwksUri input').val(),
|
||||
subjectType: subjectType, // TODO: need a preprocessor?
|
||||
subjectType: $('#applicationType input').filter(':checked').val(),
|
||||
|
||||
|
||||
|
||||
// TODO: everything below this line isn't implemented yet
|
||||
/*
|
||||
contacts: this.contactsCollection.pluck('item'),
|
||||
tokenEndpointAuthMethod: $('#tokenEndpointAuthMethod input').val(), // TODO: this might need to be something different for a single-select?
|
||||
responseTypes: responseTypes, // TODO: need a preprocessor?
|
||||
|
@ -394,7 +395,7 @@ var ClientFormView = Backbone.View.extend({
|
|||
requestUris: this.requestUrisCollection.pluck('item'),
|
||||
resourceIds: this.resourceIdsCollection.pluck('item'),
|
||||
reuseRefreshToken: $('#reuseRefreshToken input').is(':checked')
|
||||
|
||||
*/
|
||||
});
|
||||
|
||||
// post-validate
|
||||
|
|
Loading…
Reference in New Issue