|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
<div>
|
|
|
|
|
<div class="sendText fl mr10" style="width: auto">发送到</div>
|
|
|
|
|
<div class="resourcesSendTo">
|
|
|
|
|
<select class="resourcesSendType" onclick="chooseSendType('<%= send_id%>','<%= send_ids%>','<%= User.current.id %>','file');">
|
|
|
|
|
<select class="resourcesSendType" onclick="chooseSendType2('<%= send_id %>','<%= send_ids%>','<%= User.current.id %>','file', '<%= @type %>');">
|
|
|
|
|
<option value="1">课程</option>
|
|
|
|
|
<option value="2">项目</option>
|
|
|
|
|
<option value="3">组织</option>
|
|
|
|
@ -14,10 +14,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!--<div class="resourcePopupClose"> <a href="javascript:void(0);" class="resourceClose" onclick="closeModal();"></a></div>-->
|
|
|
|
|
<div class="fl">
|
|
|
|
|
<%= form_tag search_user_course_user_path(user),:method => 'get',
|
|
|
|
|
:remote=>true,:id=>'search_user_course_form',:class=>'resourcesSearchBox' do %>
|
|
|
|
|
<%= hidden_field_tag(:send_id, send_id) %>
|
|
|
|
|
<%= hidden_field_tag(:send_ids, send_ids) %>
|
|
|
|
|
<%= form_tag search_user_course_user_path(user),:method => 'get', :remote=>true, :id=> 'search_user_course_form', :class=> 'resourcesSearchBox' do %>
|
|
|
|
|
<%= hidden_field_tag(:send_id, send_id) %>
|
|
|
|
|
<%= hidden_field_tag(:send_ids, send_ids) %>
|
|
|
|
|
<input type="text" id="search_course_input" value="<%= @search %>" name="search" placeholder="输入课程ID或者名称搜索" class="searchResourcePopup" />
|
|
|
|
|
<script>
|
|
|
|
|
observeSearchfieldOnInput('search_course_input','<%= search_user_course_user_path(user)%>','<%= send_id %>','<%= send_ids%>','file')
|
|
|
|
|