You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/09/01 04:30:34 UTC
[6/7] wp7 commit: Notification.confirm buttonLabels are not a real
array, but a comma delim string.
Notification.confirm buttonLabels are not a real array, but a comma delim string.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/d0110805
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/d0110805
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/d0110805
Branch: refs/heads/master
Commit: d01108059c51a865d6d89114b032abdd1d11113b
Parents: 86611cd
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Aug 31 16:25:35 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Aug 31 16:25:35 2012 -0700
----------------------------------------------------------------------
.../standalone/cordovalib/Commands/Notification.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/d0110805/templates/standalone/cordovalib/Commands/Notification.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/Commands/Notification.cs b/templates/standalone/cordovalib/Commands/Notification.cs
index c80ee08..acbda68 100644
--- a/templates/standalone/cordovalib/Commands/Notification.cs
+++ b/templates/standalone/cordovalib/Commands/Notification.cs
@@ -142,7 +142,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
notifBox.PageTitle.Text = alertOpts.title;
notifBox.SubTitle.Text = alertOpts.message;
- string[] labels = JSON.JsonHelper.Deserialize<string[]>(alertOpts.buttonLabel);
+ string[] labels = alertOpts.buttonLabel.Split(',');
for (int n = 0; n < labels.Length; n++)
{
Button btn = new Button();