require.config({
baseUrl: "js/"
});
- $LAB.setGlobalDefaults({AlwaysPreserveOrder:true,BasePath:"js/",explicit_preloading:false});
+ // CacheBust is for dev purpose use false in prod env !
+ $LAB.setGlobalDefaults({AlwaysPreserveOrder:true,BasePath:"js/",explicit_preloading:false,CacheBust:true});
$LAB
.script("jquery.tmpl.js").wait()
.script("archiva/utils.js").wait()
data: "{\"managedRepository\": " + ko.toJSON(managedRepository)+"}",
dataType: 'json',
success: function(data) {
+ curManagedRepository.location(data.managedRepository.location);
self.managedRepositoriesViewModel.managedRepositories.push(curManagedRepository);
displaySuccessMessage($.i18n.prop('managedrepository.added'));
activateManagedRepositoriesGridTab();