评分前添加无法修改提示

This commit is contained in:
z9hang 2014-11-07 13:51:18 +08:00
parent 89732c51ef
commit cc71682e40
1 changed files with 8 additions and 1 deletions

View File

@ -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;