1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    82
    Vote Rating
    1
    dr-dan is on a distinguished road

      0  

    Default Ext.BUtton disabledClass not working

    Ext.BUtton disabledClass not working


    Code:
              id: 'previousButton',
              cls: 'previous-button',
              overCls: 'previous-button-over',
              disabledClass: 'previous-button-disabled',
              disabled: true
    results in:

    Code:
    class="x-btn previous-button x-box-item x-btn-default-small x-item-disabled x-disabled x-btn-disabled x-btn-default-small-disabled"
    Above code has the button disabled in css, but it custom class is 'previous-button', not 'previous-button-disabled'. if i change

    Code:
    cls: 'previous-button-disabled'
    class becomes 'previous-button-disabled'

    Bug?

    Workaround
    I can workaround using the following css:
    Code:
    .previous-button-disabled, #previousButton.x-btn-disabled { background: url('../images/previous_disabled.png') no-repeat !important }
    Last edited by dr-dan; 23 Jul 2012 at 3:08 AM. Reason: add workaround

  2. #2
    Sencha Premium Member Zdeno's Avatar
    Join Date
    Nov 2009
    Location
    Prague
    Posts
    388
    Vote Rating
    17
    Zdeno will become famous soon enough

      0  

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    82
    Vote Rating
    1
    dr-dan is on a distinguished road

      0  

    Default


    My guess is someone just updated the docs as a result of this post. It was definitely disabledClass when I was developing it this am because I thought it an anomaly compared to the other *Cls configs. The old component class appears to back it up. http://dev.sencha.com/playpen/docs/o...onent.jss.html

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi