Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12560

BlackBerry : For double alerts the second alert is fired immediately rather than waiting for the first alert to close

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: BlackBerry
    • Labels:
      None
    • Environment:

      Environment:
      Ti Studio : 3.1.0.201301231719
      Ti BB SDK : 3.1.0.v20130201104444
      Mac OSX : 10.8.2
      win 7 64 bit
      Win 8
      BB simulator : 10.0.9.386

      Description

      Description:
      1.Build and run KS on BB simulator/device or use the code below
      2.In KS goto base_ui -> views -> alert dialog
      3.Tap on double alert

      OR

      Use this test code:

      var win = Ti.UI.createWindow({  
        backgroundColor: 'white',
      });
       
      var button4 = Titanium.UI.createButton({
      title:'Double Alert',
      height:100,
      width:400,
      top:160
      });
      	
      button4.addEventListener('click', function()
      {
      // test firing 2 alerts in a row, should show the
      // first and after you click OK, should then show the next
      alert("You should see this first");
      alert("Now you should see this one, assuming you dismissed the first alert");
      });
      win.add(button4);
      win.open();
      

      Actual result:
      1.We get two alerts one after another without waiting for us to close the first alert

      Expected Result:
      1.After taping on 'OK' or 'Cancel' on the first alert then we should get the second alert

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
              Reviewer:
              Russell McMahon
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15527
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration