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

6 lines
247 B
Plaintext
Raw Permalink Normal View History

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