diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-05-30 22:28:31 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-05-30 22:28:31 +0200 |
commit | b8eb6641bd474fcd97f27315c46fde6dfff5fe76 (patch) | |
tree | fba9d40d19d887b2100ce64fe7cbf2dd47244622 /extensions/GuidedBugEntry | |
parent | ba31d11a089e92edaaee32a39ee1c0939723047a (diff) | |
download | bugzilla-b8eb6641bd474fcd97f27315c46fde6dfff5fe76.tar.gz bugzilla-b8eb6641bd474fcd97f27315c46fde6dfff5fe76.tar.xz |
- Add throbber image to product chooser in BMO extension
- Updated js code in guided.js to no longer need to add throbber as override
Diffstat (limited to 'extensions/GuidedBugEntry')
-rw-r--r-- | extensions/GuidedBugEntry/web/js/guided.js | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js index 16f1d4952..9e7f19d67 100644 --- a/extensions/GuidedBugEntry/web/js/guided.js +++ b/extensions/GuidedBugEntry/web/js/guided.js @@ -98,22 +98,7 @@ var product = { _loaded: '', _preselectedComponent: '', - onInit: function() { - // BMO only - if (YAHOO.bugzilla.prodCompSearch.autoComplete) { - // show a throbber while searching for products - var autoComplete = YAHOO.bugzilla.prodCompSearch.autoComplete; - var orig_generateRequest = autoComplete.generateRequest; - autoComplete.generateRequest = function(sQuery) { - Dom.removeClass('prod_comp_throbber', 'hidden'); - return orig_generateRequest(sQuery); - }; - autoComplete.doBeforeLoadData = function(sQuery, oResponse, oPayload) { - Dom.addClass('prod_comp_throbber', 'hidden'); - return true; - }; - } - }, + onInit: function() { }, onShow: function() { Dom.removeClass('advanced', 'hidden'); |