diff options
author | Joas Schilling <coding@schilljs.com> | 2017-03-15 12:53:44 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-03-15 12:53:44 +0100 |
commit | 0fe45966a0bc1ef4d1c668b82d6aa06c7be300fe (patch) | |
tree | f1890098d16a6581788c1e573ee288c7bdf6c495 /core/search | |
parent | c1cf872f1d99a614bf9d070d1923b78e3e2e26fb (diff) | |
download | nextcloud-server-0fe45966a0bc1ef4d1c668b82d6aa06c7be300fe.tar.gz nextcloud-server-0fe45966a0bc1ef4d1c668b82d6aa06c7be300fe.zip |
Remove single quotes around search query like in user search
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/search')
-rw-r--r-- | core/search/js/search.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/search/js/search.js b/core/search/js/search.js index 44a69842374..b4175c49a3e 100644 --- a/core/search/js/search.js +++ b/core/search/js/search.js @@ -216,9 +216,9 @@ if (count === 0) { $status.addClass('emptycontent').removeClass('status'); $status.html(''); - $status.append('<div class="icon-search"></div>'); - var error = t('core', "No search results in other folders for '{tag}{filter}{endtag}'", {filter:lastQuery}); - $status.append('<h2>' + error.replace('{tag}', '<strong>').replace('{endtag}', '</strong>') + '</h2>'); + $status.append($('<div>').addClass('icon-search')); + var error = t('core', 'No search results in other folders for {tag}{filter}{endtag}', {filter:lastQuery}); + $status.append($('<h2>').html(error.replace('{tag}', '<strong>').replace('{endtag}', '</strong>'))); } else { $status.removeClass('emptycontent').addClass('status'); $status.text(n('core', '{count} search result in another folder', '{count} search results in other folders', count, {count:count})); |