Ticket #2377 (closed Bug: worksforme)
CreateLink in Firefox 3
| Reported by: | robertsaliba | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | FCKeditor 2.6.2 |
| Keywords: | Cc: |
Description
If i insert link to a normal text , and i click on view source , the link html is like this
<a href="javascript:void(0);/*1216280660272*/">
instead of
<a href="index.html">
i trace the code i think this is something related to document.evaluate in CreateLink method
Change History
comment:1 Changed 5 years ago by robertsaliba
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 5 years ago by alfonsoml
- Status changed from closed to reopened
- Priority changed from High to Normal
- Resolution fixed deleted
- Keywords CreateLink removed
If there's no check-in of code the ticket can't be marked as fixed.
This kind of problem was fixed long ago before Firefox 3 was released.
Note: See
TracTickets for help on using
tickets.

fixed , in
http://developer.mozilla.org/en/docs/DOM:document.evaluate
they said While using document.evaluate() works in FF2, in FF3 one must use someXMLDoc.evaluate() if evaluating against something other than the current document
so to make it working you should replace "document" with "this.EditorDocument.evaluate", and it works