PDA

View Full Version : Bug or not with TabPanelItem



reignman
5 Feb 2007, 7:08 AM
I've got a tab, which doesn't reload everytime it's getting activated:

I do this with (the last parameter is for just loading once)

TabPreview.setUrl(PreviewUrl, null, true);

but sometimes I've got to reset the Url for the Tab because I've another mainitem selected.
If I do following code:

TabPreview.setUrl(PreviewUrl2, null, true);
and if tab gets activated it doesn't reload.

The trick is: I've got to set

TabPreview.loaded = false;

I'm not sure if this line should be added to setUrl() function.

greets Reignman

Animal
5 Feb 2007, 7:17 AM
Yes, I think it probably should.

I wouldnt be surprised if the v1.0 code already did this, but it's a good point. Jack, what do you say?