Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

管理画面操作時のAjax通信エラーについて、エラーダイアログ等をできるだけ出すように修正 #238

Merged

Conversation

uzulla
Copy link
Collaborator

@uzulla uzulla commented Feb 17, 2021

ref: #140

#232 を先にマージしてください

$.ajax$(〜).loadの処理にエラーハンドリングがなく、通信エラー時などにユーザーが気づけ無いことがあるため、パーシャルロードされるコンテンツやalertにてエラーが発生したことをユーザーに掲示するようにした。

また、一部 $('#sys-add-media-load').load(addMedia.load({keyword: keyword}));などの意図が不明な処理を削減した。

$().loadは引数としてURLを持つが、addMedia.loadはundefを返す。

作業時間 3h

@fc2dev fc2dev merged commit 9d76db4 into fc2blog:master Feb 28, 2021
@uzulla uzulla deleted the issue140/improve-js-error-handling-in-admin-page branch July 31, 2021 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants