removed client description from dynamic registration pages (nonstandard field, doesn't get saved by the server anyway)
							parent
							
								
									7e2109f617
								
							
						
					
					
						commit
						82a4b954e7
					
				|  | @ -40,8 +40,6 @@ var DynRegClient = Backbone.Model.extend({ | |||
|          | ||||
|         request_uris:[], | ||||
|          | ||||
|         client_description:null, | ||||
|          | ||||
|         registration_access_token:null, | ||||
|         registration_client_uri:null | ||||
|     }, | ||||
|  | @ -300,7 +298,6 @@ var DynRegEditView = Backbone.View.extend({ | |||
|         var attrs = { | ||||
|             client_name:$('#clientName input').val(), | ||||
|             redirect_uris: this.redirectUrisCollection.pluck("item"), | ||||
|             client_description:$('#clientDescription textarea').val(), | ||||
|             logo_uri:$('#logoUri input').val(), | ||||
|             grant_types: grantTypes, | ||||
|             scope: scopes, | ||||
|  |  | |||
|  | @ -40,8 +40,6 @@ var ResRegClient = Backbone.Model.extend({ | |||
|          | ||||
|         request_uris:[], | ||||
|          | ||||
|         client_description:null, | ||||
|          | ||||
|         registration_access_token:null, | ||||
|         registration_client_uri:null | ||||
|     }, | ||||
|  | @ -299,7 +297,6 @@ var ResRegEditView = Backbone.View.extend({ | |||
| 
 | ||||
|         var attrs = { | ||||
|             client_name:$('#clientName input').val(), | ||||
|             client_description:$('#clientDescription textarea').val(), | ||||
|             logo_uri:$('#logoUri input').val(), | ||||
|             scope: scopes, | ||||
|              | ||||
|  |  | |||
|  | @ -158,14 +158,6 @@ | |||
|                 </div> | ||||
|             </div> | ||||
| 
 | ||||
|             <div class="control-group" id="clientDescription"> | ||||
|                 <label class="control-label">Description</label> | ||||
|                 <div class="controls"> | ||||
|                     <textarea class="input-xlarge" placeholder="Type a description" maxlength="200" rows="3"><%=client.client_description ? client.client_description : ''%></textarea> | ||||
|                     <p class="help-block">Human-readable text description</p> | ||||
|                 </div> | ||||
|             </div> | ||||
| 
 | ||||
| 			<div class="control-group" id="logoUri"> | ||||
| 				<label class="control-label">Logo</label> | ||||
| 				<div class="controls"> | ||||
|  |  | |||
|  | @ -150,14 +150,6 @@ | |||
|                 </div> | ||||
|             </div> | ||||
| 
 | ||||
|             <div class="control-group" id="clientDescription"> | ||||
|                 <label class="control-label">Description</label> | ||||
|                 <div class="controls"> | ||||
|                     <textarea class="input-xlarge" placeholder="Type a description" maxlength="200" rows="3"><%=client.client_description ? client.client_description : ''%></textarea> | ||||
|                     <p class="help-block">Human-readable text description</p> | ||||
|                 </div> | ||||
|             </div> | ||||
| 
 | ||||
| 			<div class="control-group" id="logoUri"> | ||||
| 				<label class="control-label">Logo</label> | ||||
| 				<div class="controls"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Justin Richer
						Justin Richer