Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 32F70200C29 for ; Mon, 13 Feb 2017 13:25:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 31A49160B4D; Mon, 13 Feb 2017 12:25:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7C080160B60 for ; Mon, 13 Feb 2017 13:25:48 +0100 (CET) Received: (qmail 58124 invoked by uid 500); 13 Feb 2017 12:25:47 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 58010 invoked by uid 99); 13 Feb 2017 12:25:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2017 12:25:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D72661A042A for ; Mon, 13 Feb 2017 12:25:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id eYwua7BD4S0D for ; Mon, 13 Feb 2017 12:25:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A79315F54F for ; Mon, 13 Feb 2017 12:25:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6B420E062C for ; Mon, 13 Feb 2017 12:25:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id CD21F21D66 for ; Mon, 13 Feb 2017 12:25:41 +0000 (UTC) Date: Mon, 13 Feb 2017 12:25:41 +0000 (UTC) From: "gauthier beaufort (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12418) cordova-plugin-dialogs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Feb 2017 12:25:49 -0000 [ https://issues.apache.org/jira/browse/CB-12418?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D158635= 74#comment-15863574 ]=20 gauthier beaufort commented on CB-12418: ---------------------------------------- thank you, so an example of complete function: {code} =09=09=09$(document).on('click touchstart','.addList',function() { =09=09=09=09function onPrompt(results) { =09=09=09=09=09if(results.input1 !=3D null && results.buttonIndex =3D=3D 2)= { =09=09=09=09=09=09if(results.input1 =3D=3D ""){ =09=09=09=09=09=09=09function onAlert() { =09=09=09=09=09=09=09=09$('.addList').trigger('click'); =09=09=09=09=09=09=09} =09=09=09=09=09=09=09navigator.notification.alert( =09=09=09=09=09=09=09=09'Veuillez nommer la liste', // message =09=09=09=09=09=09=09=09onAlert, // callback =09=09=09=09=09=09=09=09'Erreur', // title =09=09=09=09=09=09=09=09'Ok' // buttonName =09=09=09=09=09=09=09); =09=09=09=09=09=09} =09=09=09=09=09=09else{ =09=09=09=09=09=09=09var nameList =3D results.input1; =09=09=09=09=09=09=09$.ajax({ =09=09=09=09=09=09=09=09type : 'POST', =09=09=09=09=09=09=09=09url : urlServer+'addList.php', =09=09=09=09=09=09=09=09data : {id_user: id_user, nom: nameList, token: tok= en}, =09=09=09=09=09=09=09=09success : function(data) { =09=09=09=09=09=09=09=09=09idList =3D data; =09=09=09=09=09=09=09=09=09 $('.list').append('
'+nameList+'
Par= tager
Supprimer
'); =09=09=09=09=09=09=09=09=09selectList(idList); =09=09=09=09=09=09=09=09}, =09=09=09=09=09=09=09=09error : function(resultat, statut, erreur){ =09=09=09=09=09=09=09=09=09ajaxError(resultat, statut, erreur); =09=09=09=09=09=09=09=09} =09=09=09=09=09=09=09}) =09=09=09=09=09=09} =09=09=09=09=09} =09=09=09=09} =09=09=09=09navigator.notification.prompt( =09=09=09=09=09'Entrez un nom pour la liste', // message =09=09=09=09=09onPrompt, // callback to invoke =09=09=09=09=09'Cr=C3=A9ation d\'une liste de course', // title =09=09=09=09=09['Annuler','Valider'], // buttonLabels =09=09=09=09=09'' // defaultText =09=09=09=09); =09=09=09}); {code} > cordova-plugin-dialogs > ---------------------- > > Key: CB-12418 > URL: https://issues.apache.org/jira/browse/CB-12418 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin Dialogs > Affects Versions: 1.3.0, 6.4.0 > Environment: ios 10.2 > Reporter: gauthier beaufort > Labels: Triaged > > When i use a navigator.notification.prompt on ios, the first time the inp= ut is focus and show keyboard, but second time the keyboard and focus diss= apear very quickly (-1s). Sometimes it happenned the first time, tell me if= you need more informations or can't reproduce. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org