-- corr
This commit is contained in:
@@ -1 +1 @@
|
||||
Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment=function(n){Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.initializeBase(this,[n])};Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.prototype={checkState:function(){return Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.callBaseMethod(this,"checkState")?this._designPanel._textAlignState(null):!1},callMethod:function(){if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.callBaseMethod(this,"callMethod"))return!1;var n=this._designPanel,t=this._editPanel;n._saveContent();n.MSIE_justify("left",!0);n.onContentChanged();setTimeout(function(){t.updateToolbar()},0)}};Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment",Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton);
|
||||
Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons"),Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment=function(t){Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.initializeBase(this,[t])},Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.prototype={checkState:function(){return!!Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.callBaseMethod(this,"checkState")&&this._designPanel._textAlignState(null)},callMethod:function(){if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.callBaseMethod(this,"callMethod"))return!1;var t=this._designPanel,e=this._editPanel;t._saveContent(),t.MSIE_justify("left",!0),t.onContentChanged(),setTimeout(function(){e.updateToolbar()},0)}},Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment",Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton);
|
||||
Reference in New Issue
Block a user