mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 14:05:54 +00:00
upgrade Dojo to 1.6.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||||
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
@@ -10,6 +10,7 @@ dojo._hasResource["dojo.rpc.JsonService"] = true;
|
||||
dojo.provide("dojo.rpc.JsonService");
|
||||
dojo.require("dojo.rpc.RpcService");
|
||||
|
||||
|
||||
dojo.declare("dojo.rpc.JsonService", dojo.rpc.RpcService, {
|
||||
bustCache: false,
|
||||
contentType: "application/json-rpc",
|
||||
@@ -45,7 +46,7 @@ dojo.declare("dojo.rpc.JsonService", dojo.rpc.RpcService, {
|
||||
url: url||this.serviceUrl,
|
||||
postData: this.createRequest(method, parameters),
|
||||
contentType: this.contentType,
|
||||
timeout: this.timeout,
|
||||
timeout: this.timeout,
|
||||
handleAs: "json-comment-optional"
|
||||
});
|
||||
def.addCallbacks(this.resultCallback(deferredRequestHandler), this.errorCallback(deferredRequestHandler));
|
||||
|
||||
Reference in New Issue
Block a user