mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
init project
This commit is contained in:
10
app/views/admins/shared/error.js.erb
Normal file
10
app/views/admins/shared/error.js.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
$('.admin-alert-container').html('<%= j( render partial: 'shared/alert', locals: { message: message } ) %>');
|
||||
|
||||
setTimeout(function() {
|
||||
if ($('.admin-alert-container button.close').length > 0) {
|
||||
$('.admin-alert-container button.close').trigger('click');
|
||||
}
|
||||
}, 5000)
|
||||
$(".admin-body-container").animate({
|
||||
scrollTop: 0
|
||||
}, 200);
|
||||
Reference in New Issue
Block a user