Browse files

Fix for CB-549

  • Loading branch information...
1 parent 1e5457a commit bcc2957f209300bc08398c7ad27995eb9ae7cf44 @infil00p infil00p committed Apr 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/src/org/apache/cordova/Notification.java
View
4 framework/src/org/apache/cordova/Notification.java
@@ -233,7 +233,7 @@ public void run() {
// 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 void onClick(DialogInterface dialog, int which) {
// 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();

0 comments on commit bcc2957

Please sign in to comment.