summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/GuidedBugEntry')
-rw-r--r--extensions/GuidedBugEntry/web/js/guided.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js
index 9e7f19d67..e98237fab 100644
--- a/extensions/GuidedBugEntry/web/js/guided.js
+++ b/extensions/GuidedBugEntry/web/js/guided.js
@@ -197,7 +197,7 @@ var product = {
// grab the product information
this.details = false;
this._loaded = productName;
- YAHOO.util.Connect.setDefaultPostHeader('text/plain; charset=UTF-8');
+ YAHOO.util.Connect.setDefaultPostHeader('application/json; charset=UTF-8');
YAHOO.util.Connect.asyncRequest(
'POST',
'jsonrpc.cgi',
@@ -403,7 +403,7 @@ var dupes = {
ccObject = { remove: [ guided.currentUser ] };
}
- YAHOO.util.Connect.setDefaultPostHeader('text/plain; charset=UTF-8');
+ YAHOO.util.Connect.setDefaultPostHeader('application/json; charset=UTF-8');
YAHOO.util.Connect.asyncRequest(
'POST',
'jsonrpc.cgi',