MWF.xApplication.cms.FormDesigner.Module = MWF.xApplication.cms.FormDesigner.Module || {}; MWF.xDesktop.requireApp("cms.FormDesigner", "Module.Org", null, false); MWF.xApplication.cms.FormDesigner.Module.Author = MWF.CMSFCAuthor = new Class({ Extends: MWF.CMSFCOrg, Implements : [MWF.CMSFCMI], options: { "style": "default", "propertyPath": "../x_component_cms_FormDesigner/Module/Org/org.html" }, initialize: function(form, options){ this.setOptions(options); this.path = "../x_component_cms_FormDesigner/Module/Author/"; this.cssPath = "../x_component_cms_FormDesigner/Module/Author/"+this.options.style+"/css.wcss"; this._loadCss(); this.moduleType = "element"; this.moduleName = "author"; this.form = form; this.container = null; this.containerNode = null; }, _createMoveNode: function(){ this.moveNode = new Element("div", { "MWFType": "author", "id": this.json.id, "styles": this.css.moduleNodeMove, "events": { "selectstart": function(){ return false; } } }).inject(this.form.container); var icon = new Element("div", { "styles": this.css.textfieldIcon }).inject(this.moveNode); var text = new Element("div", { "styles": this.css.moduleText, "text": this.json.id }).inject(this.moveNode); } });