Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81D0EEE0F for ; Fri, 15 Feb 2013 21:07:12 +0000 (UTC) Received: (qmail 85151 invoked by uid 500); 15 Feb 2013 21:07:12 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 85127 invoked by uid 500); 15 Feb 2013 21:07:12 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 85116 invoked by uid 99); 15 Feb 2013 21:07:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 21:07:12 +0000 Date: Fri, 15 Feb 2013 21:07:12 +0000 (UTC) From: "Max Woghiren (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-1933) Using comma in button labels MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1933?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1357950= 3#comment-13579503 ]=20 Max Woghiren commented on CB-1933: ---------------------------------- You're right; a developer who tries to create a confirm notification that d= oes have a comma in one of the labels will see undesired behavior on unsupp= orted platforms. Because of that, I agree that this shouldn't be released until all platform= s support it. =20 > Using comma in button labels > ---------------------------- > > Key: CB-1933 > URL: https://issues.apache.org/jira/browse/CB-1933 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, CordovaJS > Reporter: Ingo B=C3=BCrk > Assignee: Max Woghiren > Priority: Minor > > It's currently not possible to use comma in button labels when creating c= onfirm dialogs. This would be useful for buttons like "Yes, Delete". > Probably a good idea for implementation would be allowing an array as the= buttonLabels argument, e.g. > =20 > {code}navigator.notification.confirm('Alert!', function(){}, function(){}= , 'Title', ['Yes, Do It', 'No']);{code} > For compatibility it shouldn't be a problem to detect whether a string or= an array has been passed and act accordingly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira