评分前添加无法修改提示
This commit is contained in:
parent
89732c51ef
commit
cc71682e40
|
@ -138,7 +138,14 @@
|
||||||
$("p.jRatingInfos").remove();
|
$("p.jRatingInfos").remove();
|
||||||
},
|
},
|
||||||
click : function(e){
|
click : function(e){
|
||||||
var element = this;
|
var flag = confirm("确定评分?(学生评分之后将无法修改)");
|
||||||
|
if(!flag)
|
||||||
|
{
|
||||||
|
e.cancel();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
var element = this;
|
||||||
|
|
||||||
/*set vars*/
|
/*set vars*/
|
||||||
hasRated = true;
|
hasRated = true;
|
||||||
|
|
Loading…
Reference in New Issue