提交 8972f7ef 编写于 作者: U unknown

操作条增加reload 方法

上级 b958f6ef
......@@ -219,7 +219,7 @@ MWF.xApplication.Attendance.HolidayExplorer.Holiday = new Class({
"</td>" +
"</tr>" +
"<tr>" +
"<td style='height: 30px; line-height: 30px; text-align: left'>"+lp.makeUpClassDay+":</td>" +
"<td valign='top' style='height: 30px; line-height: 30px; text-align: left'>"+lp.makeUpClassDay+":</td>" +
"<td style='; text-align: right;' id='makeUpClassDayTd'>" +
(!this.isNew && !this.isEdited ? "" :makeupClassArea )+
(!this.isNew && !this.isEdited ? "" : "<div id='addMakeupClass' style='color: #354f67;cursor: pointer;'>增加补班日期</div>" )+
......
MWF.xDesktop.requireApp("process.Xform", "Actionbar", null, false);
MWF.xApplication.cms.Xform.Actionbar = MWF.CMSActionbar = new Class({
Extends: MWF.APPActionbar,
reload : function(){
this._loadUserInterface();
},
_loadUserInterface: function(){
//if (this.form.json.mode == "Mobile"){
// this.node.empty();
......
......@@ -5,6 +5,9 @@ MWF.xApplication.process.Xform.Actionbar = MWF.APPActionbar = new Class({
Extends: MWF.APP$Module,
options: {
"moduleEvents": ["load", "queryLoad", "postLoad", "afterLoad"]
},
reload : function(){
this._loadUserInterface();
},
_loadUserInterface: function(){
// if (this.form.json.mode == "Mobile"){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册