Files
SIG/Scripts/AjaxControlToolkit/Release/HtmlEditor.ToolbarButtons.JustifyRight.js
JORGE LUIS CAUDILLO ESPARZA c35cf91883 Commit inicial Ventas Productivo
2019-08-14 16:40:54 -07:00

1 line
811 B
JavaScript

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