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

Workaround google script error by passing crafted (unused) params

The v1 API method "execute" needs an object as the third param to avoid
a TypeError.
parent 22ca47dc
Branches
No related tags found
No related merge requests found
......@@ -183,10 +183,10 @@
trackQuery(q);
}
try {
activeSearch.execute(q);
activeSearch.execute(q, undefined, {});
} catch (e) {
console.log(e);
queryComplete({root: activeSearch.root});
console && console.log(e);
queryComplete(activeSearch);
}
directorySearch.execute(q);
$(wrapperMain).fadeIn();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment