From c7d117505c2c4930d577670d08ab698f73388fd6 Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Thu, 10 Nov 2011 08:54:55 +0000 Subject: [PATCH] - portalsearch.js some fixes for paths, when remote loading method is used git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8025 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ConfigLiveSearch.html | 2 +- htroot/portalsearch/yacy-portalsearch.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/ConfigLiveSearch.html b/htroot/ConfigLiveSearch.html index d7277cb52..2deba76b7 100644 --- a/htroot/ConfigLiveSearch.html +++ b/htroot/ConfigLiveSearch.html @@ -69,7 +69,7 @@ Installing: position : ['top',30], theme : 'start' }; - $.getScript(yconf.url+'/portalsearch/yacyui-portalsearch.js', function(){}); + $.getScript(yconf.url+'/portalsearch/yacy-portalsearch.js', function(){}); }); </script> <div id="yacylivesearch"> diff --git a/htroot/portalsearch/yacy-portalsearch.js b/htroot/portalsearch/yacy-portalsearch.js index 4f4eb59ec..0cbfda2ba 100644 --- a/htroot/portalsearch/yacy-portalsearch.js +++ b/htroot/portalsearch/yacy-portalsearch.js @@ -19,7 +19,7 @@ */ function statuscheck() { - if(load_status < 4) { + if(load_status < 5) { return; } else { window.clearInterval(loading); @@ -60,7 +60,7 @@ $(document).ready(function() { if(yconf.load_css) { var style1 = yconf.url + '/portalsearch/yacy-portalsearch.css'; - var style2 = yconf.url + '/jquery/themes/'+yconf.theme+'/ui.all.css'; + var style2 = yconf.url + '/jquery/themes/'+yconf.theme+'/jquery-ui-1.8.16.custom.css'; var style3 = yconf.url + '/jquery/css/jquery-ui-combobox.css'; var head = document.getElementsByTagName('head')[0]; @@ -79,7 +79,7 @@ $(document).ready(function() { load_status = 0; loading = window.setInterval("statuscheck()", 200); if(yconf.load_js) { - var script1 = yconf.url + '/jquery/js/jquery-query-2.1.7.js'; + var script1 = yconf.url + '/jquery/js/jquery.query-2.1.7.js'; var script2 = yconf.url + '/jquery/js/jquery.form-2.73.js'; var script3 = yconf.url + '/jquery/js/jquery.field-0.9.2.min.js'; var script4 = yconf.url + '/jquery/js/jquery-ui-1.8.16.custom.min.js';