Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for CB-549

  • Loading branch information...
commit bcc2957f209300bc08398c7ad27995eb9ae7cf44 1 parent 1e5457a
@infil00p infil00p authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.