1 line
928 B
JavaScript
1 line
928 B
JavaScript
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); |