Ticket #1086 (closed defect: fixed)
Repeated javascript insertion
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xinha Core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When there is some javascript code in onclick event, then xinha (or maybe gethtml plugin?) adds some frames code. Unfortunately it does not check if this code exists, so it ends like this:
<a href="#" onclick="if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}if(window.top && window.top.Xinha){return false}$('#wiecej16').toggle('slow');return false;">
Tested in Firefox for now.
