- This topic has 11 replies, 7 voices, and was last updated 12 years, 11 months ago by
Max87.
-
AuthorPosts
-
TobiasSchallerMemberIs there any chance to hide or change the “http://…” title in the alert window in v2.0 M2 or the final v2.0 release ?
Also I would be willing to change the sourcecode if this is needed. But my customer does not accept this “http://” title, because we need very much alert windows …May 11, 2012 at 6:06 am #325961
support-michaelKeymasterThe alert window in the Test Center is an emulation of the mobile safari alert UI. Thus the site title in the URL can not be changed in the code to affect the outcome on iOS devices. Please note that we will introduce a separate set of notification popup windows asap to get around this problem. I can’t give an exact timeframe but our target is for MobiOne 2.1 release if all goes well. MobiOne 2.0 is planned for late next week or shortly thereafter.
May 11, 2012 at 7:01 am #325962
TobiasSchallerMemberGlad to hear that ! Looking forward for it … Thanks
June 25, 2012 at 5:17 pm #327564
Max87MemberHi Wayne,
is anything new about custom alert boxes with editable title?
Thanks.June 26, 2012 at 2:10 pm #327608
support-octavioMemberHi Max,
It still on the todo list, we hope to have something in late summer
June 26, 2012 at 2:27 pm #327611
SonamGyatoMemberThis would be a good and easy feature to add.
Along with confirm dialog.
June 26, 2012 at 4:21 pm #327617
KaleMemberFor native Apps you can use this code:
function onConfirm(button) { alert('You selected button ' + button); } navigator.notification.confirm( 'You are the winner!', // message onConfirm, // callback to invoke with index of button pressed 'Game Over', // title 'Restart,Exit' // buttonLabels );
Greetings Kale
June 27, 2012 at 6:57 pm #327670
Max87MemberHi Kale,
thanks for your answer, I used another dialog(navigator.notification.alert) and it’s working perfectly!July 12, 2012 at 11:33 am #328138
YannMemberHello
this function do not run on my iPhone
i don’t understand, my phone vibrate but he don’t show alert boxfunction pasinternet() { navigator.notification.vibrate(2500); navigator.notification.confirm( 'Aucune connexion internet trouvée.', // message onConfirm, // callback to invoke with index of button pressed 'Erreur', // title 'Restart,Close' // buttonLabels ); }
July 14, 2012 at 5:22 am #328200
Max87MemberHello Octavio,
is there any possibility to support navigator.notification.alert dialog?
It’s working fine on my iPhone, but in Test Center, it gives Errors.
Thanks.July 31, 2012 at 12:13 pm #328615
support-octavioMember@Max,
TC doesn’t support PhoneGap API ATM.
July 31, 2012 at 12:19 pm #328617
Max87MemberI have workaround – I use device.platform, which returns win32 if app runs on TC and iPhone, if it runs on device.
So, I can customize dialogs which is not supported by TC to alert(). -
AuthorPosts