Log.js 609 B

123456789101112131415
  1. MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
  2. MWF.xDesktop.requireApp("cms.Xform", "widget.Log", null, false);
  3. MWF.xApplication.cms.Xform.Log = MWF.CMSLog = new Class({
  4. Extends: MWF.APP$Module,
  5. _loadUserInterface: function(){
  6. this.node.empty();
  7. this.node.setStyle("-webkit-user-select", "text");
  8. this.log = new MWF.xApplication.cms.Xform.widget.Log( this.form.app, this.node, {
  9. "documentId" : this.form.businessData.document.id,
  10. "mode" : this.json.mode,
  11. "textStyle" : this.json.textStyle
  12. });
  13. this.log.load();
  14. }
  15. });