kopia lustrzana https://github.com/FacilMap/facilmap
Switch to search form when importing files
rodzic
2810d6fc8f
commit
2790088318
|
@ -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));
|
||||
|
|
Ładowanie…
Reference in New Issue