[bugzilla-gnome-org-extensions] Fix typo resulting in wrong content types



commit 9525af24b647046d2f562429d71895cf42cbeeeb
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon Oct 12 10:39:40 2009 -0400

    Fix typo resulting in wrong content types
    
    contentType not ontentType when submitting XML-RPC methods.

 js/xmlRpc.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/xmlRpc.js b/js/xmlRpc.js
index 2f1c7bf..f7a3fb2 100644
--- a/js/xmlRpc.js
+++ b/js/xmlRpc.js
@@ -227,7 +227,7 @@ function call(options) {
     $.ajax({
                type: 'POST',
                url: options.url,
-               ontentType: 'text/xml',
+               contentType: 'text/xml',
                dataType: 'xml',
                data: (new XMLSerializer()).serializeToString(doc),
                error: function(xmlHttpRequest, textStatus, errorThrown) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]