PDA

View Full Version : Page reloads when slider click performed



yo_haha
16 Oct 2012, 4:00 AM
Hi,
I added a div element inside a TreePanel.root.firstChild.getUI().getAnchor() element.
Then I added an Ext.Slider() object inside the added div.
The problem is when I click on the slider the page reloads. I don't see the cause of this behaviour.
Do you have any hint?

Regards.

yo_haha
16 Oct 2012, 7:23 AM
A solution was found:
Get the HTML Element <a> and attach to the onclick event a function that returns false.

scottmartin
17 Oct 2012, 7:29 AM
Thank you for the update.

Scott.