mirror of https://github.com/apache/archiva.git
reload screen after redback runtime update
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a7487f5a18
commit
a73c35bcf2
|
@ -1616,20 +1616,22 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
var message=$.i18n.prop('redback-runtime-configuration.updated');
|
var message=$.i18n.prop('redback-runtime-configuration.updated');
|
||||||
|
window.sammyArchivaApplication.runRoute("get","#redbackruntimeconfig");
|
||||||
displaySuccessMessage(message);
|
displaySuccessMessage(message);
|
||||||
},
|
},
|
||||||
error: function(data) {
|
error: function(data) {
|
||||||
var res = $.parseJSON(data.responseText);
|
var res = $.parseJSON(data.responseText);
|
||||||
displayRestError(res);
|
displayRestError(res);
|
||||||
},
|
|
||||||
complete:function(data){
|
|
||||||
removeMediumSpinnerImg(userMessages);
|
|
||||||
saveButton.button('reset');
|
|
||||||
self.redbackRuntimeConfiguration().modified(false);
|
|
||||||
self.redbackRuntimeConfiguration().ldapConfiguration().modified(false);
|
|
||||||
saveModifyLdapGroupMapping();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
).always(
|
||||||
|
function(){
|
||||||
|
removeMediumSpinnerImg(userMessages);
|
||||||
|
saveButton.button('reset');
|
||||||
|
self.redbackRuntimeConfiguration().modified(false);
|
||||||
|
self.redbackRuntimeConfiguration().ldapConfiguration().modified(false);
|
||||||
|
saveModifyLdapGroupMapping();
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue