~ubuntu-branches/ubuntu/intrepid/moin/intrepid-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/_source/classes/fcktoolbarspecialcombo.js

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-02-14 16:09:24 UTC
  • mfrom: (0.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20060214160924-fyrx3gvknzqvt4vj
Tags: 1.5.2-1ubuntu1
Drop python2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
FCKToolbarSpecialCombo.prototype.CreateInstance = function( parentToolbar )
39
39
{
40
 
        this._Combo = new FCKSpecialCombo( this.GetLabel() ) ;
 
40
        this._Combo = new FCKSpecialCombo( this.GetLabel(), this.FieldWidth, this.PanelWidth, this.PanelMaxHeight ) ;
 
41
        
 
42
        /*
41
43
        this._Combo.FieldWidth          = this.FieldWidth               != null ? this.FieldWidth               : 100 ;
42
44
        this._Combo.PanelWidth          = this.PanelWidth               != null ? this.PanelWidth               : 150 ;
43
45
        this._Combo.PanelMaxHeight      = this.PanelMaxHeight   != null ? this.PanelMaxHeight   : 150 ;
 
46
        */
44
47
        
45
48
        //this._Combo.Command.Name = this.Command.Name;
46
49
//      this._Combo.Label       = this.Label ;
81
84
                        if ( this.RefreshActiveItems )
82
85
                                this.RefreshActiveItems( this._Combo, sValue ) ;
83
86
                        else
 
87
                        {
 
88
                                if ( this._LastValue == sValue )
 
89
                                        return ;
 
90
        
 
91
                                this._LastValue = sValue ;
 
92
 
84
93
                                FCKToolbarSpecialCombo_RefreshActiveItems( this._Combo, sValue ) ;
 
94
                        }
85
95
                }
86
96
                else
87
97
                        eState = FCK_TRISTATE_DISABLED ;