diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 07:44:26 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 13:53:59 +0200 |
commit | 9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e (patch) | |
tree | c755177c3886de1498010820b9a547a5314c8d41 /core/search | |
parent | 8b38b601e5bd07559bb86d38132be31820c41627 (diff) | |
download | nextcloud-server-9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e.tar.gz nextcloud-server-9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e.zip |
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.js | 2 |
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, |