Files
SIG/Scripts/AjaxControlToolkit/Release/HtmlEditor.ToolbarButtons.StrikeThrough.js
rrene 927295c7ba Revert "-- corr"
This reverts commit 5315c47fcd.
2024-11-05 10:55:34 -07:00

1 line
838 B
JavaScript

Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough=function(n){Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.initializeBase(this,[n])};Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.prototype={callMethod:function(){if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.callBaseMethod(this,"callMethod"))return!1;this._designPanel._execCommand("strikeThrough",!1,null)},checkState:function(){return Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.callBaseMethod(this,"checkState")?this._designPanel._queryCommandState("strikeThrough"):!1}};Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough",Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton);