Ticket #1412 (closed defect: fixed)
ContentPane scriptScope regex replacement fails
| Reported by: | mumme | Owned by: | mumme |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 0.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
How to reproduce
html content:
<script>
this.message = function(){
alert("hello");
}
</script>
<div onclick="scriptScope.message()">Not working</div>
<div onclick=" scriptScope.message()">working due to space before keyword</div>
<div id="cl" onclick="scriptScope.message()">working due to attribute before</div>
Change History
Note: See
TracTickets for help on using
tickets.