function SwallowClick(oPanelItem, oE) |
{ |
//oPanelItem.get_panelBar().trackChanges(); |
if (!oPanelItem.get_expanded) |
oPanelItem.set_expanded = false; |
else |
oPanelItem.set_expanded = true; |
//oPanelItem.get_panelBar().commitChanges(); |
} |
Hi
The above code "swallows" the expand event on the Panelbar, but allows the click event. The cancel functionality does not work because it swallows both the expand and click event.
The problem is that it no longer works where similar code worked fine in ASP.NET.
Any ideas ?
Kind Regards
David