Ticket #2017 (closed New Feature: fixed)

Opened 2 months ago

Last modified 2 months ago

Make FCKeditorAPI.__Instances public

Reported by: saul11 Assigned to: fredck
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version:
Keywords: Confirmed Review+ Cc:

Description

Put it in the docs and present it as a public thing so people can easily access every FCKeditor instance on the page.

E.g. (currenlty)

if (FCKeditorAPI)
{
	for (fckeditorName in FCKeditorAPI.__Instances)
	{
		if (FCKeditorAPI.GetInstance(fckeditorName).IsDirty())
		{
			changesMade = true;
			break;
		}
	}
}

Attachments

2017.patch (2.6 kB) - added by fredck on 03/15/08 16:41:59.

Change History

03/15/08 16:41:59 changed by fredck

  • attachment 2017.patch added.

03/15/08 16:44:22 changed by fredck

  • keywords changed from FCKeditorAPI __Instances to Confirmed.
  • owner set to fredck.
  • type changed from Bug to New Feature.
  • status changed from new to assigned.
  • milestone set to FCKeditor 2.6.

Even if __Instances is a private property, the proposed patch still defines it, as we know people is (wrongly) using it out there.

03/15/08 16:44:56 changed by fredck

  • keywords changed from Confirmed to Confirmed Review?.

03/17/08 04:57:22 changed by martinkou

  • keywords changed from Confirmed Review? to Confirmed Review+.

03/17/08 09:31:52 changed by saul11

Small remark:

The check for the FCKeditorAPI existence in my example should be:

if (window.FCKeditorAPI)

03/18/08 09:19:41 changed by fredck

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed with [1713]. Click here for more info about our SVN system.