facebook

Alert window – http title: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #325958 Reply

    Is 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 …

    #325961 Reply

    support-michael
    Keymaster

    @tobi

    The 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.

    #325962 Reply

    Glad to hear that ! Looking forward for it … Thanks

    #327564 Reply

    Max87
    Member

    Hi Wayne,
    is anything new about custom alert boxes with editable title?
    Thanks.

    #327608 Reply

    Hi Max,

    It still on the todo list, we hope to have something in late summer

    #327611 Reply

    SonamGyato
    Member

    This would be a good and easy feature to add.

    Along with confirm dialog.

    #327617 Reply

    Kale
    Member

    For 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

    #327670 Reply

    Max87
    Member

    Hi Kale,
    thanks for your answer, I used another dialog(navigator.notification.alert) and it’s working perfectly!

    #328138 Reply

    Yann
    Member

    Hello
    this function do not run on my iPhone
    i don’t understand, my phone vibrate but he don’t show alert box

    
    function 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
            );  
    }
    #328200 Reply

    Max87
    Member

    Hello 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.

    #328615 Reply

    @Max,

    TC doesn’t support PhoneGap API ATM.

    #328617 Reply

    Max87
    Member

    I 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().

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Alert window – http title: CLOSED

You must be logged in to post in the forum log in