We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663af70 commit e530106Copy full SHA for e530106
forcetk.js
@@ -59,7 +59,7 @@ if (forcetk.Client === undefined) {
59
this.clientId = clientId;
60
this.loginUrl = loginUrl || 'https://login.salesforce.com/';
61
if (typeof proxyUrl === 'undefined' || proxyUrl === null) {
62
- if (location.protocol === 'file:') {
+ if (location.protocol === 'file:' || location.protocol === 'ms-appx:') {
63
// In PhoneGap
64
this.proxyUrl = null;
65
} else {
@@ -484,4 +484,4 @@ if (forcetk.Client === undefined) {
484
return this.ajax('/' + this.apiVersion + '/search?q=' + escape(sosl)
485
, callback, error);
486
}
487
-}
+}
0 commit comments