diff --git a/core/search/js/searchprovider.js b/core/search/js/searchprovider.js index 86a22f570f..7b4970b37f 100644 --- a/core/search/js/searchprovider.js +++ b/core/search/js/searchprovider.js @@ -416,14 +416,22 @@ $(document).ready(function() { var $searchBox = $('#searchbox'); if ($searchResults.length > 0 && $searchBox.length > 0) { $searchResults.addClass('hidden'); - $searchResults.load( - OC.getRootPath() + '/core/search/templates/part.results.html', - function() { - OC.Search = new OCA.Search.Core( - $searchBox, - $searchResults - ); - } + $searchResults.html('\n' + + '\t\n' + + '\t\t\n' + + '\t\t\t\n' + + '\t\t\t\n' + + '\t\t\n' + + '\t\n' + + '
\n' + + '\t\t\t\t\n' + + '\t\t\t\t\t
\n' + + '\t\t\t\t
\n' + + '\t\t\t
\n' + + '
'); + OC.Search = new OCA.Search.Core( + $searchBox, + $searchResults ); } else { // check again later diff --git a/core/search/templates/part.results.html b/core/search/templates/part.results.html deleted file mode 100644 index 6fad9f2cdd..0000000000 --- a/core/search/templates/part.results.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - -
- -
-
-
-
\ No newline at end of file