Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-09 08:44:26 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-09 14:53:59 +0300
commit9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e (patch)
treec755177c3886de1498010820b9a547a5314c8d41 /core/search
parent8b38b601e5bd07559bb86d38132be31820c41627 (diff)
Fix usage of deprecated OC.webroot
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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,