mirror of https://github.com/apache/archiva.git
[MRM-1714] using LDAP can be configurable with the ui
move button in loading state. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
474cd1b61d
commit
d2b5071c6a
|
@ -1161,8 +1161,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
||||||
|
|
||||||
saveArchivaRuntimeConfiguration=function(){
|
saveArchivaRuntimeConfiguration=function(){
|
||||||
$.log("saveArchivaRuntimeConfiguration");
|
$.log("saveArchivaRuntimeConfiguration");
|
||||||
|
$("#archiva-runtime-configuration-save" ).button('loading');
|
||||||
|
|
||||||
clearUserMessages();
|
clearUserMessages();
|
||||||
var userMessages=$("#user-messages");
|
var userMessages=$("#user-messages");
|
||||||
userMessages.html(mediumSpinnerImg());
|
userMessages.html(mediumSpinnerImg());
|
||||||
|
@ -1183,6 +1182,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
||||||
},
|
},
|
||||||
complete:function(data){
|
complete:function(data){
|
||||||
removeMediumSpinnerImg(userMessages);
|
removeMediumSpinnerImg(userMessages);
|
||||||
|
$("#archiva-runtime-configuration-save" ).button('reset');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -908,7 +908,7 @@
|
||||||
data-bind="value: archivaRuntimeConfiguration().userManagerImpl"/>
|
data-bind="value: archivaRuntimeConfiguration().userManagerImpl"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button data-bind="click: saveArchivaRuntimeConfiguration" class="btn">${$.i18n.prop('save')}</button>
|
<button data-bind="click: saveArchivaRuntimeConfiguration" id="archiva-runtime-configuration-save" class="btn">${$.i18n.prop('save')}</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue