Files
SIG/packages/AjaxControlToolkit.StaticResources.15.1.4.0/Content/Scripts/AjaxControlToolkit/Debug/HtmlEditor.Popups.AttachedTemplatePopup.debug.js
2019-08-30 09:13:39 -07:00

29 lines
999 B
JavaScript

Type.registerNamespace("Sys.Extended.UI.HtmlEditor.Popups");
Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup = function(element) {
Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup.initializeBase(this, [element]);
this._contentDiv = null;
}
Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup.prototype = {
get_contentDiv: function() {
return this._contentDiv;
},
set_contentDiv: function(value) {
this._contentDiv = value;
},
initialize: function() {
Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup.callBaseMethod(this, "initialize");
this.set_initialContent(this._contentDiv.innerHTML);
},
dispose: function() {
Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup.callBaseMethod(this, "dispose");
}
}
Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup.registerClass("Sys.Extended.UI.HtmlEditor.Popups.AttachedTemplatePopup", Sys.Extended.UI.HtmlEditor.Popups.AttachedPopup);