cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] git commit: CB-7444 Fixes XHR callback failure when requested file doesn't exists
Date Wed, 03 Sep 2014 01:32:43 GMT
Repository: cordova-wp8
Updated Branches:
  refs/heads/master be3e065cc -> b14af9b34


CB-7444 Fixes XHR callback failure when requested file doesn't exists


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/d2aeff23
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/d2aeff23
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/d2aeff23

Branch: refs/heads/master
Commit: d2aeff23032f5d3705cb262d6d7a3e30e6f2b049
Parents: ab12c9b
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Tue Sep 2 17:00:13 2014 +0400
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Tue Sep 2 17:00:13 2014 +0400

----------------------------------------------------------------------
 wp8/template/cordovalib/XHRHelper.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/d2aeff23/wp8/template/cordovalib/XHRHelper.cs
----------------------------------------------------------------------
diff --git a/wp8/template/cordovalib/XHRHelper.cs b/wp8/template/cordovalib/XHRHelper.cs
index fa7b617..81256fe 100644
--- a/wp8/template/cordovalib/XHRHelper.cs
+++ b/wp8/template/cordovalib/XHRHelper.cs
@@ -316,7 +316,7 @@ namespace WPCordovaClassLib.CordovaLib
                     if (resource == null)
                     {
                         // 404 ?
-                        Browser.InvokeScript("__onXHRLocalCallback", new string[] { "404",
null, reqId });
+                        Browser.InvokeScript("__onXHRLocalCallback", new string[] { "404",
string.Empty, reqId });
                         return true;
                     }
                     else


Mime
View raw message