Importer.js 670 B

1234567891011121314151617181920212223
  1. MWF.xApplication.portal.PageDesigner.Module.Importer = MWF.PCImporter = new Class({
  2. Extends: MWF.FCImporter,
  3. Implements: [Options, Events],
  4. options: {
  5. "style": "default",
  6. "propertyPath": "../x_component_portal_PageDesigner/Module/Importer/importer.html"
  7. },
  8. initialize: function(form, options){
  9. this.setOptions(options);
  10. this.path = "../x_component_portal_PageDesigner/Module/Importer/";
  11. this.cssPath = "../x_component_portal_PageDesigner/Module/Importer/"+this.options.style+"/css.wcss";
  12. this._loadCss();
  13. this.moduleType = "element";
  14. this.moduleName = "importer";
  15. this.form = form;
  16. this.container = null;
  17. this.containerNode = null;
  18. }
  19. });