diff options
author | Vladimir Panteleev <github.private@thecybershadow.net> | 2018-04-08 18:08:19 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-04-08 18:08:19 +0200 |
commit | f786d42447d8515d5fb2fdd821c2635f95cbe1bf (patch) | |
tree | ab76878be164064b73a6d4c52e271d927118e739 /js/yui3 | |
parent | 922c09396817fece1275365a474e5cbde6e1f99e (diff) | |
download | bugzilla-f786d42447d8515d5fb2fdd821c2635f95cbe1bf.tar.gz bugzilla-f786d42447d8515d5fb2fdd821c2635f95cbe1bf.tar.xz |
Bug 1446236 - Fix instant search without GuidedBugEntry (#38)
* instant-search.js: Don't fail if product map isn't loaded
getProduct had a hard dependency on the 'products' object, which is
provided by products.js from the GuidedBugEntry extension.
Check if the products variable exists before attempting to use
it. This can happen when loading products.js fails, which in turn can
happen when the GuidedBugEntry extension isn't present.
* Instant search: Don't load products.js without GuidedBugEntry
Fixes a 404 if the GuidedBugEntry extension is not present.
* instant-search.js: Use throbber.gif from core
Fixes remaining dependency on GuidedBugEntry.
Diffstat (limited to 'js/yui3')
0 files changed, 0 insertions, 0 deletions