Skip to content
Snippets Groups Projects
Commit 22ca47dc authored by Kevin Abel's avatar Kevin Abel
Browse files

Add try/catch to the search execute call to simulate search complete

parent 864113b7
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,12 @@ ...@@ -182,7 +182,12 @@
if (track !== false) { if (track !== false) {
trackQuery(q); trackQuery(q);
} }
activeSearch.execute(q); try {
activeSearch.execute(q);
} catch (e) {
console.log(e);
queryComplete({root: activeSearch.root});
}
directorySearch.execute(q); directorySearch.execute(q);
$(wrapperMain).fadeIn(); $(wrapperMain).fadeIn();
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment