Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
ansuz 8 years ago
commit 4d5baa717d

@ -1783,7 +1783,7 @@ define([
var isInSearchTmp = currentPath[0] === SEARCH; var isInSearchTmp = currentPath[0] === SEARCH;
if ($input.val().trim() === "") { if ($input.val().trim() === "") {
setSearchCursor(0); setSearchCursor(0);
if (search.oldLocation.length) { displayDirectory(search.oldLocation); } if (search.oldLocation && search.oldLocation.length) { displayDirectory(search.oldLocation); }
return; return;
} }
if (e.which === 13) { if (e.which === 13) {

Loading…
Cancel
Save