You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/04/20 01:48:46 UTC

[2/2] android commit: Fix for CB-549

Fix for CB-549


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

Branch: refs/heads/master
Commit: bcc2957f209300bc08398c7ad27995eb9ae7cf44
Parents: 1e5457a
Author: Joe Bowser <bo...@apache.org>
Authored: Thu Apr 19 16:45:15 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Thu Apr 19 16:45:15 2012 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/Notification.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/bcc2957f/framework/src/org/apache/cordova/Notification.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/Notification.java b/framework/src/org/apache/cordova/Notification.java
index 9fb423a..b5834c3 100755
--- a/framework/src/org/apache/cordova/Notification.java
+++ b/framework/src/org/apache/cordova/Notification.java
@@ -233,7 +233,7 @@ public class Notification extends Plugin {
 
         // First button
         if (fButtons.length > 0) {
-          dlg.setPositiveButton(fButtons[0],
+          dlg.setNegativeButton(fButtons[0],
               new AlertDialog.OnClickListener() {
             public void onClick(DialogInterface dialog, int which) {
               dialog.dismiss();
@@ -255,7 +255,7 @@ public class Notification extends Plugin {
 
         // Third button
         if (fButtons.length > 2) {
-          dlg.setNegativeButton(fButtons[2],
+          dlg.setPositiveButton(fButtons[2],
               new AlertDialog.OnClickListener() {
             public void onClick(DialogInterface dialog, int which) {
               dialog.dismiss();