1. #1
    Ext User
    Join Date
    May 2008
    Posts
    37
    Vote Rating
    0
    superFly77 is on a distinguished road

      0  

    Default Problem with tree updating when changed (cache issue maybe)

    Problem with tree updating when changed (cache issue maybe)


    Hi, this may be a dumb question and may already be answered but i coultn find a good answer.

    Anyways, i have a TreePanel simply uses an array to store the children of the root node.

    When i change the array around it doesnt get reloaded with the new array when i refresh the page.

    Im assuming its some type of chaching problem, but using firebug I can see that the correct JS file is being loaded, and it is the updated one.

    I really cant see why it isnt being updated.

    any ideas?

    Note: The array for children and the tree itself is inside a seperate JS file and is simple loaded into the main js file as follows:

    var adminTree = new Application.AdminTree();

  2. #2
    Ext User
    Join Date
    May 2008
    Posts
    37
    Vote Rating
    0
    superFly77 is on a distinguished road

      0  

    Default


    Ok I found my problem and its a pretty dumb one .

    I had two trees and at first they both just had the same nodes. The problem was that both trees used the same name for the array the children used. I guess that when the second tree loaded it reloaded the first trees children as they had the same array name. I just didnt realize this was the problem as both trees had the same nodes before i started to change them around.

    Using seperate array names obviously fixed it.

    =/ Im dumb lol.

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