#1 Combo with custom seperator

closed
nobody
None
5
2014-12-05
2003-08-31
No

Combos may contain ; as part of the options or values -
therefore it's better to make this user-defineable

in fck_toolbar.js

<code>

function TBCombo(name, command, label, options, values,
onEditingAction,seperator)
{
seperator = seperator ? seperator : ';' ;
this.Name = name ;
this.Label = label || "" ;
this.Command = command ;
this.Options = options ? options.split(seperator) :
new Array() ;
this.Values = values ? values.split(seperator) :
new Array() ;
this.Active = false ;

if (onEditingAction)
{
this.onEditingAction = onEditingAction ;
events.attachEvent('onEditing', this) ;
}
}
</code>

Discussion

  • Frederico Caldeira Knabben

    • status: open --> closed
     
  • Frederico Caldeira Knabben

    Logged In: YES
    user_id=572424

    This feature is available from version 1.4.

    Best regards,
    FredCK

     
  • Nobody/Anonymous

    Logged In: NO

    aaa

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks