Files
SIG/Scripts/AjaxControlToolkit/Release/HtmlEditor.ToolbarButtons.EditorToggleButton.js
2024-11-05 10:47:20 -07:00

1 line
733 B
JavaScript

Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons"),Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton=function(t){Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton.initializeBase(this,[t])},Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton.prototype={onEditPanelActivity:function(){Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton.callBaseMethod(this,"onEditPanelActivity"),this.setActivity(this.checkState())},checkState:function(){return!!this.checkRangeInDesign()}},Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton",Sys.Extended.UI.HtmlEditor.ToolbarButtons.DesignModeImageButton);