This issue has been fixed for the next release!
  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    6
    Vote Rating
    0
    aaronsama is on a distinguished road

      0  

    Default Back button not updated correctly in navigationview, useTitleForBackButtonText:true

    Back button not updated correctly in navigationview, useTitleForBackButtonText:true


    REQUIRED INFORMATION

    Ext version tested:
    • Sencha Touch 2.0 Beta 1
    Browser versions tested against:
    • Chrome 16 (Fedora 16)
    Description:
    • useTitleForBackButtonText: true causes errors in back button
    Steps to reproduce the problem:
    • Create an Ext.navigation.View with useTitleForBackButtonText:true and one panel. Push another panel and pop using the back button.
    The result that was expected:
    • The back button should disappear when the navigationview is back to the first view.
    The result that occurs instead:
    • The back button is still there. If an item is pushed again the back button has no text.
    Test Case:

    Code:
    var navigationView = Ext.create("Ext.navigation.View",{ fullscreen: true, useTitleForBackButtonText: true, items: [ { title: 'One', items: [{ xtype: 'button', text: 'Push a new view!', handler: function() { //use the push() method to push another view. It works much like //add() or setActiveItem(). it accepts a view instance, or you can give it //a view config. navigationView.push({ title: 'Second', html: 'Second view!' }); } }] } ] }); Ext.Viewport.setActiveItem(navigationView);
    HELPFUL INFORMATION


    Screenshot or Video:
    Screenshot at 2012-02-07 17:07:40.png




    Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • none
    Operating System:
    • Linux (Fedora 16)

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, this issue has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 1