修复课程:导入问卷一直提示未有新建问卷
This commit is contained in:
parent
e2be4a9e7f
commit
742d5b630b
|
@ -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}) %>');
|
||||
|
||||
|
|
Loading…
Reference in New Issue