switched to using "uneditable-input" classes instead of disabled input fields
parent
e303319701
commit
51920ee381
|
@ -532,7 +532,7 @@
|
|||
|
||||
if (requireClientSecret && !generateClientSecret) {
|
||||
// if it's required but we're not generating it, send the value
|
||||
clientSecret = $('#clientSecret').val();
|
||||
clientSecret = $('#clientSecret input').val();
|
||||
}
|
||||
|
||||
var accessTokenValiditySeconds = null;
|
||||
|
|
|
@ -142,9 +142,15 @@
|
|||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<input id="clientSecret" value="<%=clientSecret%>" maxlength="100" type="text" placeholder="Type a secret">
|
||||
<input id="clientSecretGenerated" value="Generate on Save" type="text" disabled>
|
||||
<input id="clientSecretHidden" value="************" type="password" disabled>
|
||||
<div id="clientSecret">
|
||||
<input value="<%=clientSecret%>" maxlength="100" type="text" placeholder="Type a secret">
|
||||
</div>
|
||||
<div id="clientSecretGenerated">
|
||||
<span class="uneditable-input span3">Generate on Save</span>
|
||||
</div>
|
||||
<div id="clientSecretHidden">
|
||||
<span class="uneditable-input span3">* * * * * * * * * * * *</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue