Skip to content

Commit fb8b68a

Browse files
author
Pat Patterson
committed
Merge pull request developerforce#8 from Shedal/patch-2
Disabled caching of ajax requests, fixing caching problems in Internet Ex
2 parents a6f3946 + 3b4b203 commit fb8b68a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

forcetk.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ if (forcetk.Client === undefined) {
9898
$j.ajax({
9999
type: 'POST',
100100
url: (this.proxyUrl !== null) ? this.proxyUrl: url,
101+
cache: false,
101102
processData: false,
102103
data: 'grant_type=refresh_token&client_id=' + this.clientId + '&refresh_token=' + this.refreshToken,
103104
success: callback,
@@ -151,6 +152,7 @@ if (forcetk.Client === undefined) {
151152
type: method || "GET",
152153
url: (this.proxyUrl !== null) ? this.proxyUrl: url,
153154
contentType: 'application/json',
155+
cache: false,
154156
processData: false,
155157
data: payload,
156158
success: callback,

0 commit comments

Comments
 (0)