Switch to search form when importing files

pull/108/head
Candid Dauth 2017-05-26 16:07:39 +02:00
rodzic 2810d6fc8f
commit 2790088318
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -373,6 +373,11 @@ fm.app.factory("fmSearchQuery", function($rootScope, $compile, fmUtils, $timeout
},
showFiles: function(files) {
if(!searchUi._el.is(":visible")) {
routeUi.hide();
searchUi.show();
}
scope.submittedSearchString = "";
scope.showAll = true;
loadSearchResults(filesUi.parseFiles(files));