提交 660de69f 编写于 作者: L luojing 提交者: NoSubject

bbs修复不能重复提交的bug


(cherry picked from commit d0f2457b)
上级 b79ef902
......@@ -483,6 +483,7 @@ MWF.xApplication.ForumDocument.Main = new Class({
starblacknode = starblacknode.previousElementSibling;
}
}
_self.selectstar = this.data.grade;
}else{
starnode.addEvents({
"click": function(e){
......@@ -552,7 +553,7 @@ MWF.xApplication.ForumDocument.Main = new Class({
debugger;
if( this.advanceId )data.id = this.advanceId;
data.attachmentList = this.attachment.getAttachmentIds();
if(this.sectionData.sectionGrade && this.selectstar==0){
if(this.sectionData.sectionGrade && this.selectstar==0 && this.advanceId){
MWF.xDesktop.notice("error", {x: "right", y:"top"}, this.lp.gradeNotice);
}else{
data.grade = this.selectstar;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册