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