修复课程:导入问卷一直提示未有新建问卷

This commit is contained in:
daiao 2016-09-29 17:18:46 +08:00
parent e2be4a9e7f
commit 742d5b630b
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<% if @polls.empty? %>
alert('您目前还没有自己新建的问卷');
alert('您目前其他课程无问卷可导入');
<% else %>
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'other_poll',:locals => {:polls => @polls,:polls_group_id=>@polls_group_id}) %>');