- };
-
- function xmleditor_onunload(event, panel) {}
-
- panel(xmleditor_onload, xmleditor_onunload);
-})();
+
+ this.texteditor = texteditor;
+ },
+
+ unload: function() {
+ this.texteditor = null;
+ },
+
+ saveInfo: function(hn, saveInfo) {
+ var myInfo = {content: this.texteditor.getCode(), dataType: 'xml'};
+ $.extend(saveInfo, myInfo);
+ }
+};
+