mirror of https://github.com/apache/archiva.git
load jquery ui on start
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50f63a49ab
commit
6506537883
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
|
<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
|
||||||
|
<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
|
||||||
<script type="text/javascript" src="js/sammy.0.7.1.js"></script>
|
<script type="text/javascript" src="js/sammy.0.7.1.js"></script>
|
||||||
<script type="text/javascript" data-main="js/archiva/archiva.js" src="js/require.2.0.6.js"></script>
|
<script type="text/javascript" data-main="js/archiva/archiva.js" src="js/require.2.0.6.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
define("archiva.main",["jquery","sammy","jquery.tmpl","jquery.ui","jquery.cookie","bootstrap","archiva.search",
|
define("archiva.main",["jquery","jquery.ui","sammy","jquery.tmpl","jquery.cookie","bootstrap","archiva.search",
|
||||||
"jquery.validate","jquery.json","knockout","redback.templates","archiva.templates",
|
"jquery.validate","jquery.json","knockout","redback.templates","archiva.templates",
|
||||||
"redback.roles","redback","archiva.general-admin","archiva.repositories",
|
"redback.roles","redback","archiva.general-admin","archiva.repositories",
|
||||||
"archiva.network-proxies","archiva.proxy-connectors","archiva.repository-groups","archiva.artifacts-management"],
|
"archiva.network-proxies","archiva.proxy-connectors","archiva.repository-groups","archiva.artifacts-management"],
|
||||||
|
@ -597,6 +597,10 @@ function($,sammy,tmpl,ui) {
|
||||||
checkCreateAdminLink();
|
checkCreateAdminLink();
|
||||||
$('#footer-content').html($('#footer-tmpl').tmpl(window.archivaRuntimeInfo));
|
$('#footer-content').html($('#footer-tmpl').tmpl(window.archivaRuntimeInfo));
|
||||||
|
|
||||||
|
updateAppearanceToolBar();
|
||||||
|
|
||||||
|
window.sammyArchivaApplication.run();
|
||||||
|
|
||||||
$( "#quick-search-autocomplete" ).autocomplete({
|
$( "#quick-search-autocomplete" ).autocomplete({
|
||||||
minLength: 3,
|
minLength: 3,
|
||||||
delay: 600,
|
delay: 600,
|
||||||
|
@ -626,9 +630,6 @@ function($,sammy,tmpl,ui) {
|
||||||
.append( "<a>" + item.artifactId + "</a>" )
|
.append( "<a>" + item.artifactId + "</a>" )
|
||||||
.appendTo( ul );
|
.appendTo( ul );
|
||||||
};
|
};
|
||||||
updateAppearanceToolBar();
|
|
||||||
|
|
||||||
window.sammyArchivaApplication.run();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue