mirror of https://github.com/apache/archiva.git
update the window value as there are some changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5ea32e441b
commit
9213fa8cb8
|
@ -1454,9 +1454,9 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
// TODO use window.redbackRuntimeConfiguration ?
|
// TODO use window.redbackRuntimeConfiguration ?
|
||||||
var redbackRuntimeConfiguration = mapRedbackRuntimeConfiguration(data);
|
window.redbackRuntimeConfiguration = mapRedbackRuntimeConfiguration(data);
|
||||||
var redbackRuntimeConfigurationViewModel =
|
var redbackRuntimeConfigurationViewModel =
|
||||||
new RedbackRuntimeConfigurationViewModel(redbackRuntimeConfiguration,userManagerImplementationInformations);
|
new RedbackRuntimeConfigurationViewModel(window.redbackRuntimeConfiguration,userManagerImplementationInformations);
|
||||||
mainContent.html( $("#redback-runtime-configuration-main" ).tmpl() );
|
mainContent.html( $("#redback-runtime-configuration-main" ).tmpl() );
|
||||||
ko.applyBindings(redbackRuntimeConfigurationViewModel,$("#redback-runtime-configuration-content" ).get(0));
|
ko.applyBindings(redbackRuntimeConfigurationViewModel,$("#redback-runtime-configuration-content" ).get(0));
|
||||||
activatePopoverDoc();
|
activatePopoverDoc();
|
||||||
|
|
Loading…
Reference in New Issue