MWF.require("MWF.widget.UUID", null,false); MWF.require("MWF.widget.JsonTemplate", null, false); MWF.xApplication.process.ProcessDesigner.Property = new Class({ Implements: [Options, Events], load: function(){ if (!this.process.options.isView){ if (this.fireEvent("queryLoad")){ MWF.getRequestText(this.htmlPath, function(responseText, responseXML){ this.htmlString = responseText; this.fireEvent("postLoad"); }.bind(this)); } this.process.propertyListNode.addEvent("keydown", function(e){e.stopPropagation();}); } }, editProperty: function(td){ }, getHtmlString: function(callback){ if (!this.htmlString){ MWF.getRequestText(this.htmlPath, function(responseText, responseXML){ this.htmlString = responseText; if (callback) callback(); }.bind(this)); }else{ if (callback) callback(); } }, //隐藏高级属性 hideAdvanced: function(){ if (this.process.panel.showAdvanced && !this.process.panel.showAdvanced.checked){ var advs = this.propertyContent.querySelectorAll("*[data-o2-advanced=\"yes\"]"); if (advs && advs.length){ for (var i=0; i