1. #1
    Ext User
    Join Date
    Nov 2007
    Posts
    297
    Vote Rating
    0
    smartlit is on a distinguished road

      0  

    Default [2.x] Possible bug - Javascript Crash

    [2.x] Possible bug - Javascript Crash


    Hello,

    I don't know it this is a bug or not, but I try to report it.

    I have Ext.form.TriggerField(msgTarget:'elementid',{autoCreate:{value:'1'}}). If msgTarget is created immediately after this control, javascript crashes because a target node is not found.

    The error is triggered by the clearInvalid function, called by initValue.

    Thanks,

    Paul

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    your triggerfield constructor looks weird.
    Code:
    msgTarget:'elementid',{autoC reate:{value:'1'}}
    that's not even a valid object.

    could you post a complete test case demonstrating the issue?

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Read the docs on Ext.form.Field and Ext.DomHelper.

    That code creates a <DIV> as the TriggerField's element. There is no value attribute of <DIV>

    So they the TriggerField is using a DIV throughout.

    You can find all this out simply by debugging on the error instead of throwing your hands up in despair.

Thread Participants: 2

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