29 lines
999 B
JavaScript
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); |