1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    30
    Answers
    3
    Vote Rating
    0
    Isnogud is on a distinguished road

      0  

    Default Unanswered: List - onItemDisclosure ST 2.2

    Unanswered: List - onItemDisclosure ST 2.2


    Hello!

    Has anything changed to the onItemDisclosure-attribute or the disclose event?
    Since 2.2, I've updated it yesterday, the associated function isn't working anymore.

  2. #2
    Sencha User
    Join Date
    Dec 2012
    Posts
    30
    Answers
    3
    Vote Rating
    0
    Isnogud is on a distinguished road

      0  

    Default


    Found and fixed the issue in my own code.
    But now there is another problem:


    If I tap only on the disclose-button, the tap-event is also fired.
    Am I missing any new configattributes? Because in ST 2.1.1 they were not fired at the same time.

    DiscloseAndTap.png
    **the second console.output is in the fn which is performed after the tap event.


    my code:
    Code:
    control : {
                'mylist': {
                    itemtap: 'showAnotherList',
                    disclose: 'showListItemDetails'
                }
    }

  3. #3
    Sencha User
    Join Date
    Dec 2012
    Posts
    30
    Answers
    3
    Vote Rating
    0
    Isnogud is on a distinguished road

      0  

    Default


    Found a solution:

    Code:
            if (e.getTarget('div.x-list-disclosure')) {
                return null;
            }
    I just added this in the top of my fn for the tap-event. Its not the best way but it's working for now.

    Code:
        showAnotherList: function(list, index, target, record, e, eOpts) {
            if (e.getTarget('div.x-list-disclosure')) {
                return null;
            }
    
    ...
    
        },
    Found it here: http://www.sencha.com/forum/showthre...nd-normal-list
    But that was more than one year ago. Isn't there another, prettier solution?

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