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

14 lines
635 B
JavaScript

Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");
Sys.Extended.UI.HtmlEditor.ToolbarButtons.Undo = function(element) {
Sys.Extended.UI.HtmlEditor.ToolbarButtons.Undo.initializeBase(this, [element]);
}
Sys.Extended.UI.HtmlEditor.ToolbarButtons.Undo.prototype = {
callMethod: function() {
if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.Undo.callBaseMethod(this, "callMethod")) return false;
this._designPanel.undo();
}
}
Sys.Extended.UI.HtmlEditor.ToolbarButtons.Undo.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.Undo", Sys.Extended.UI.HtmlEditor.ToolbarButtons.MethodButton);