#1712: AddItem - Execute with plugin
-----------------------+----------------------------------------------------
Reporter: datalink | Owner:
Type: Bug | Status: closed
Priority: Normal | Milestone:
Component: General | Version:
Resolution: invalid | Keywords:
-----------------------+----------------------------------------------------
Changes (by arczi):
* status: new => closed
* resolution: => invalid
Comment:
It is not a bug.
{{{
function FCKToolbarSpecialCombo_OnSelect( itemId, item )
{
FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(
this.CommandName ).Execute( itemId, item ) ;
}
}}}
If you want change it you should overwrite OnSelect:
{{{
this._Combo.OnSelect = FCKToolbarSpecialCombo_OnSelect ;
}}}
I attached the patch to your plugin. Now SetLabel works.
{{{
StyleComboObj._Combo.SetLabel( style.Label ) ;
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/1712#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac