@ -38,6 +38,7 @@ class EcYearsController < ApplicationController
(!@major_school.template_major && @major_manager ? "立即配置" : "查看")
@years = @major_school.ec_years
@years = paginateHelper @years, 10
logger.info("1370740521")
respond_to do |format|
format.js
end
@ -17,7 +17,7 @@
</div>
<li class="clearfix mt10 edu-txt-center">
<a href="javascript:void(0);" class="task-btn mr10" onclick="hideModal()">取消</a>
<a href="javascript:void(0);" class="task-btn task-btn-orange ml20" onclick="submit_data();">确定</a>
<a href="javascript:void(0);" class="task-btn task-btn-orange ml20" onclick="submit_data(); hideModal();">确定</a>
</li>
@ -2,5 +2,4 @@
notice_box("该界别已经存在,请勿重复创建")
<% else %>
$("#year_list").html('<%= j(render :partial => "ec_major_schools/year_list") %>')
hideModal();
<% end %>