mirror of https://github.com/apache/archiva.git
ensure jquery ui is correctly loaded
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d7a08776a0
commit
b1fee5688a
|
@ -51,7 +51,7 @@ $.ajax({
|
|||
urlArgs: ""+appendJsNoCacheUrl(),
|
||||
shim: {
|
||||
'sammy':['jquery','jquery.tmpl'],
|
||||
'archiva.main':['jquery','sammy','jquery.tmpl'],
|
||||
'archiva.main':['jquery','jquery.ui','sammy','jquery.tmpl'],
|
||||
'utils':['jquery','jquery.tmpl'],
|
||||
'archiva.templates': ['jquery','jquery.tmpl','utils'],
|
||||
'redback.templates': ['jquery','jquery.tmpl','utils']
|
||||
|
@ -97,7 +97,7 @@ $.ajax({
|
|||
}
|
||||
});
|
||||
|
||||
requirejs(['jquery','jquery.tmpl','i18n','sammy','startup','utils','domReady!'], function (domReady) {
|
||||
requirejs(['jquery','jquery.tmpl','jquery.ui','i18n','sammy','startup','utils','domReady!'], function (domReady) {
|
||||
loadi18n(function () {
|
||||
$.ajax({
|
||||
url: "restServices/archivaUiServices/runtimeInfoService/archivaRuntimeInfo/"+usedLang(),
|
||||
|
|
|
@ -20,7 +20,7 @@ define("archiva.main",["jquery","sammy","jquery.tmpl","jquery.ui","jquery.cookie
|
|||
"jquery.validate","jquery.json","knockout","redback.templates","archiva.templates",
|
||||
"redback.roles","redback","archiva.general-admin","archiva.repositories",
|
||||
"archiva.network-proxies","archiva.proxy-connectors","archiva.repository-groups","archiva.artifacts-management"],
|
||||
function() {
|
||||
function($,sammy,tmpl,ui) {
|
||||
|
||||
/**
|
||||
* reccord a cookie for session with the logged user
|
||||
|
|
Loading…
Reference in New Issue