Changeset 1778
- Timestamp:
- 2008-03-22 18:56:03 (3 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/classes/fcktoolbarbutton.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fcktoolbarbutton.js
r1565 r1778 49 49 FCKToolbarButton.prototype.RefreshState = function() 50 50 { 51 var uiButton = this._UIButton ; 52 53 if ( !uiButton ) 54 return ; 55 51 56 // Gets the actual state. 52 57 var eState = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetState() ; 53 58 54 59 // If there are no state changes than do nothing and return. 55 if ( eState == this._UIButton.State ) return ;60 if ( eState == uiButton.State ) return ; 56 61 57 62 // Sets the actual state. 58 this._UIButton.ChangeState( eState ) ;63 uiButton.ChangeState( eState ) ; 59 64 } 60 65 -
FCKeditor/trunk/_whatsnew.html
r1777 r1778 121 121 having problems with SpellerPages, causing some errors to be thrown when completing 122 122 the spell checking in some situations.</li> 123 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow 124 command was throwing an error if executed in an editor where its relative button 125 is not present in the toolbar.</li> 123 126 </ul> 124 127 <h3>