项目资源增加TAG后点击报错
This commit is contained in:
parent
b84ec1360a
commit
aa07c3408f
|
@ -20,8 +20,9 @@ $('#tags_name2').val("");
|
|||
$("#files_tag").html("<%= escape_javascript(render :partial => "files/tag_yun", :locals => {:tag_list => @tag_list,:course => @course,:tag_name => @select_tag_name}) %>");
|
||||
<%else%>
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").empty();
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").html('<%= escape_javascript(render :partial => 'tags/course_attachment_tag_name',
|
||||
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").replaceWith('<%= escape_javascript(render :partial => 'tags/tag_new', :locals => {:obj => @obj, :object_flag => "6"}) %>');
|
||||
//render :partial => 'tags/course_attachment_tag_name',
|
||||
//:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag})
|
||||
<%end%>
|
||||
|
||||
$("#tags_name_<%=@obj.id%>").val("");
|
||||
|
|
Loading…
Reference in New Issue