aboutsummaryrefslogtreecommitdiffstats
path: root/core/search
diff options
context:
space:
mode:
Diffstat (limited to 'core/search')
-rw-r--r--core/search/js/searchprovider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/search/js/searchprovider.js b/core/search/js/searchprovider.js
index f5a499fab60..86a22f570f8 100644
--- a/core/search/js/searchprovider.js
+++ b/core/search/js/searchprovider.js
@@ -417,7 +417,7 @@ $(document).ready(function() {
if ($searchResults.length > 0 && $searchBox.length > 0) {
$searchResults.addClass('hidden');
$searchResults.load(
- OC.webroot + '/core/search/templates/part.results.html',
+ OC.getRootPath() + '/core/search/templates/part.results.html',
function() {
OC.Search = new OCA.Search.Core(
$searchBox,