添加报错信息

dev_haigong
daiao 6 years ago
parent 8640200398
commit d4d7f812a6

@ -38,6 +38,7 @@ class EcYearsController < ApplicationController
(!@major_school.template_major && @major_manager ? "立即配置" : "查看") (!@major_school.template_major && @major_manager ? "立即配置" : "查看")
@years = @major_school.ec_years @years = @major_school.ec_years
@years = paginateHelper @years, 10 @years = paginateHelper @years, 10
logger.info("1370740521")
respond_to do |format| respond_to do |format|
format.js format.js
end end

@ -17,7 +17,7 @@
</div> </div>
<li class="clearfix mt10 edu-txt-center"> <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 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> </li>
</div> </div>
</div> </div>

@ -2,5 +2,4 @@
notice_box("该界别已经存在,请勿重复创建") notice_box("该界别已经存在,请勿重复创建")
<% else %> <% else %>
$("#year_list").html('<%= j(render :partial => "ec_major_schools/year_list") %>') $("#year_list").html('<%= j(render :partial => "ec_major_schools/year_list") %>')
hideModal();
<% end %> <% end %>
Loading…
Cancel
Save