forgeplus/app/views/admins/sub_disciplines/update.js.erb

6 lines
259 B
Plaintext
Raw Normal View History

2020-03-09 00:40:16 +08:00
<% if @message.present? %>
$.notify({ message: "<%= @message %>" });
<% else %>
$('.modal.admin-edit-sub-discipline-modal').modal("hide");
$(".sub-discipline-list-container").html("<%= j(render :partial => 'admins/sub_disciplines/shared/list') %>");
<% end %>