Opened 16 years ago
Closed 16 years ago
#2649 closed Bug (fixed)
IE: Error on Find dialog with "match whole word"
Reported by: | Frederico Caldeira Knabben | Owned by: | Martin Kou |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6.4 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed IE Review+ | Cc: |
Description
Steps to Reproduce
- In the editing area, type "hello you hello".
- Open the "Find" dialog.
- Check the "Match whole word" option.
- Type "hello" in the find field.
- Click on "Find".
A JavaScript error is thrown.
It looks like an IE only issue. Works well with Firefox.
Attachments (2)
Change History (9)
comment:1 Changed 16 years ago by
Owner: | set to Martin Kou |
---|---|
Status: | new → assigned |
Changed 16 years ago by
Attachment: | 2649.patch added |
---|
comment:2 Changed 16 years ago by
Keywords: | Review? added |
---|
comment:3 Changed 16 years ago by
Milestone: | → FCKeditor 2.6.4 |
---|
comment:4 Changed 16 years ago by
Keywords: | Review- added; Review? removed |
---|
This fix makes no difference for me. I still have the same error.
When opening the debugger, the error happens at line 145 of fck_replace.html because "curNode" is null ('length' is null or not an object).
comment:5 Changed 16 years ago by
Keywords: | Review? added; Review- removed |
---|
Ok, there are actually two possible errors there:
- When the search item is at exactly the end of the document, which was fixed in the first patch.
- When the search item is at exactly the beginning of the document, which is what's missing in the first patch.
Alright... posting updated patch for problem 2.
Changed 16 years ago by
Attachment: | 2649_2.patch added |
---|
comment:6 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:7 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with [2778].
Click here for more info about our SVN system.
I guess we can put this in 2.6.4, the fix is very simple.