Merge pull request #2010 from dewekk/fix-report

게시물 신고 후 새로고침 되지 않는 문제 수정
This commit is contained in:
Kijin Sung 2022-12-18 00:08:43 +09:00 committed by GitHub
commit 90f6b8aad6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 256 additions and 22 deletions

View file

@ -41,7 +41,10 @@
</form>
<script cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/document/tpl/1'">
alert("{$XE_VALIDATOR_MESSAGE}");
window.close();
if (opener) {
opener.location.reload();
window.close();
}
</script>
<script>
(function($){