Opened 16 years ago

Closed 16 years ago

#2112 closed Bug (worksforme)

Can't close the modal template window in Firefox 2.0.0.13/XP

Reported by: Brian Owned by:
Priority: Normal Milestone:
Component: UI : Floating Panel Version: FCKeditor 2.6
Keywords: Pending WorksForMe Cc:

Description

Fresh install of FCKEditor 2.6 using the following config:

FCKConfig.ToolbarSets["Pukka"] = [
	['Preview','-','Source','FitWindow'],
	['Link','Unlink','-','Image','Table','Rule','SpecialChar'],
	['OrderedList','UnorderedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Cut','Copy','Paste','PasteText','PasteWord'],
	['Bold','Italic','Underline','-','SelectAll','RemoveFormat'],
	['Templates','Style','TextColor','BGColor']
] ;

I click the templates icon which brings up the window properly. I can select one of the three default templates and see it work in the background. When I click the X or cancel, I get the error (pulled from Firebug):

FCK.Selection.Restore is not a function
EnsureSelection()fckdialog.html (line 388)
Cancel(undefined)fckdialog.html (line 675)
onclick(click clientX=0, clientY=0)fckdialog.html (line 1)
[Break on this error] FCK.Selection.Restore() ;

I have to reload the page to get the window to go away.

This is my first time using the templates.

Change History (4)

comment:1 Changed 16 years ago by Brian

Quick follow-up, it works in IE7 on the same computer.

comment:2 Changed 16 years ago by Wojciech Olchawa

Keywords: Pending WorksForMe added; templates removed

I was trying to reproduce your bug with your custom ToolbarSet but everything seems fine to me both on FF and IE. So could you please provide a minimum sample page where the bug occurs.

Thanks

comment:3 Changed 16 years ago by Brian

In the course of building test cases, I was able to get it to work. Strangely, slowly removing a little HTML at a time from the test case, it would fail, fail fail and then work. Then I would replace what just made it work and it would continue to work. Although I've cleared my cache some 100 times during this, I can only imagine it's cache-related; perhaps getting mixed up with my 2.6beta that I had previously?

For now, this issue appears to be solved so you can close the ticket. I will report back if I run into it again. Thanks,

Brian

comment:4 Changed 16 years ago by Wojciech Olchawa

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy