From f3aa2ad366660fe84fea478eb1b6427a9a341e08 Mon Sep 17 00:00:00 2001 From: Bohung Date: Sun, 25 Apr 2021 12:30:33 +0800 Subject: [PATCH] Fix bug. --- app/views/admin/seminars/_seminar_signup_dashboard.html.erb | 2 +- .../admin/seminars/_seminar_signup_session_dashboard.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/seminars/_seminar_signup_dashboard.html.erb b/app/views/admin/seminars/_seminar_signup_dashboard.html.erb index 342684e..fdc7b68 100644 --- a/app/views/admin/seminars/_seminar_signup_dashboard.html.erb +++ b/app/views/admin/seminars/_seminar_signup_dashboard.html.erb @@ -117,7 +117,7 @@ var div_block = $(ele).parents(".bottomnav").parent(); var index = div_block.data("count"); $.get(href).done(function(data){ - var $d = $(data); + var $d = $("
").append(data); div_block.html($d.find('[data-count='+index+']').html()); $(".pagination a").attr("onclick","a_tag_xhr_request(this);return false;"); adjust_height(); diff --git a/app/views/admin/seminars/_seminar_signup_session_dashboard.html.erb b/app/views/admin/seminars/_seminar_signup_session_dashboard.html.erb index a8563d2..0aeb558 100644 --- a/app/views/admin/seminars/_seminar_signup_session_dashboard.html.erb +++ b/app/views/admin/seminars/_seminar_signup_session_dashboard.html.erb @@ -121,7 +121,7 @@ var div_block = $(ele).parents(".bottomnav").parent(); var index = div_block.data("count"); $.get(href).done(function(data){ - var $d = $(data); + var $d = $("
").append(data); div_block.html($d.find('[data-count='+index+']').html()); $(".pagination a").attr("onclick","a_tag_xhr_request(this);return false;"); adjust_height();