Hi
The Javascript I am trying to use is:
This code worked in ASP.NET but now does not work in Prometheus.
NB: I have added trackChanges and commitChanges for prometheus.
Kind Regards
David
The Javascript I am trying to use is:
| function SetImageClick(oPanelbar, oE) |
| { |
| for (var i = 0; i < oPanelbar.get_allItems.length; i++) |
| { |
| if (oPanelbar.get_allItems[i].get_imageElement) |
| { |
| oPanelbar.get_allItems[i].get_imageElement.AssociatedItem = oPanelbar.get_allItems[i]; |
| oPanelbar.get_allItems[i].get_imageElement.onclick = function (oE) |
| { |
| oPanelbar.trackChanges(); |
| if (!oE) oE = window.event; |
| if (this.AssociatedItem.get_expanded) |
| this.AssociatedItem.set_expanded = false; |
| else |
| this.AssociatedItem.set_expanded = true; |
| oE.cancelBubble = true; |
| if (oE.stopPropagation) |
| oE.stopPropagation(); |
| oPanelbar.commitChanges(); |
| return false; |
| } |
| } |
| } |
| } |
This code worked in ASP.NET but now does not work in Prometheus.
NB: I have added trackChanges and commitChanges for prometheus.
Kind Regards
David