Repository: cordova-plugin-dialogs
Updated Branches:
  refs/heads/master ba96e4ea4 -> 7c8fbf58f


CB-8038 backslash getting escaped twice in bb10

Removed unnecessary escaping of backslash char in notifications for bb10,
as they are already escaped in the js.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/33da80ba
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/33da80ba
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/33da80ba

Branch: refs/heads/master
Commit: 33da80badd0b6cda8cc0c19feb977922f718906b
Parents: 305020a
Author: Staci Cooper <[email protected]>
Authored: Tue Nov 18 14:55:23 2014 -0500
Committer: Staci Cooper <[email protected]>
Committed: Tue Nov 18 14:55:23 2014 -0500

----------------------------------------------------------------------
 src/blackberry10/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/33da80ba/src/blackberry10/index.js
----------------------------------------------------------------------
diff --git a/src/blackberry10/index.js b/src/blackberry10/index.js
index b218eab..3660f66 100644
--- a/src/blackberry10/index.js
+++ b/src/blackberry10/index.js
@@ -26,7 +26,7 @@ function showDialog(args, dialogType, result) {
     }
 
     if (msg && typeof msg === "string") {
-        msg = msg.replace(/^"|"$/g, "").replace(/\\"/g, '"').replace(/\\\\/g, 
'\\');
+        msg = msg.replace(/^"|"$/g, "").replace(/\\"/g, '"');
     } else {
         result.error("message is undefined");
         return;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to