Commit e2307de89c7892d1f64df4d2006327e98d08e967
1 parent
545ca50e
修改批量删除功能可用
Showing
1 changed file
with
1 additions
and
1 deletions
WebRoot/WEB-INF/jsp/sunvote/homework/homework_list.jsp
@@ -192,7 +192,7 @@ | @@ -192,7 +192,7 @@ | ||
192 | if(typeof(Id) == "undefined"){ | 192 | if(typeof(Id) == "undefined"){ |
193 | str = ''; | 193 | str = ''; |
194 | } | 194 | } |
195 | - if(str != ''){ | 195 | + if(str == ''){ |
196 | for(var i=0;i < document.getElementsByName('ids').length;i++){ | 196 | for(var i=0;i < document.getElementsByName('ids').length;i++){ |
197 | if(document.getElementsByName('ids')[i].checked){ | 197 | if(document.getElementsByName('ids')[i].checked){ |
198 | if(str=='') str += document.getElementsByName('ids')[i].value; | 198 | if(str=='') str += document.getElementsByName('ids')[i].value; |