summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-02-03 04:18:59 +0100
committerByron Jones <bjones@mozilla.com>2012-02-03 04:18:59 +0100
commit998489b9e42efa80bb05c97d53ca5e8fe55b0795 (patch)
treeb1dc0d713a8f5c5e910aeb347f5178b8566424ca
parentb0f3cc5f5db0924940caa3becd2b4ce32527f102 (diff)
downloadbugzilla-998489b9e42efa80bb05c97d53ca5e8fe55b0795.tar.gz
bugzilla-998489b9e42efa80bb05c97d53ca5e8fe55b0795.tar.xz
Bug 723646: fix broken instant search
-rw-r--r--js/instant-search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/instant-search.js b/js/instant-search.js
index f590c8ef3..a3f051f2f 100644
--- a/js/instant-search.js
+++ b/js/instant-search.js
@@ -28,7 +28,7 @@ YAHOO.bugzilla.instantSearch = {
currentSearchProduct: '',
onInit: function() {
- YAHOO.util.Connect.setDefaultPostHeader('text/plain; charset=UTF-8');
+ YAHOO.util.Connect.setDefaultPostHeader('application/json; charset=UTF-8');
this.elContent = Dom.get('content');
this.elList = Dom.get('results');