Commit inicial Ventas Productivo

This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2019-08-14 16:40:54 -07:00
commit c35cf91883
13328 changed files with 3711549 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");
Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment = function(element) {
Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.initializeBase(this, [element]);
}
Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.prototype = {
checkState: function() {
if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.callBaseMethod(this, "checkState"))
return false;
return this._designPanel._textAlignState(null);
},
callMethod: function() {
if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.callBaseMethod(this, "callMethod"))
return false;
var editor = this._designPanel,
editPanel = this._editPanel;
editor._saveContent();
editor.MSIE_justify("left", true);
editor.onContentChanged();
setTimeout(function() {
editPanel.updateToolbar();
}, 0);
}
}
Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.RemoveAlignment", Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton);