Skip to content

Commit c68b40a

Browse files
committed
Update overall_footer_body_after.html
1 parent c6b0a0d commit c68b40a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

imcger/imgupload/styles/all/template/event/overall_footer_body_after.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
xhr.onreadystatechange = function() {
107107
if (xhr.readyState === 4) {
108-
if (xhr.responseText) {
108+
if (xhr.responseText) {
109109
let respText = JSON.parse(xhr.responseText);
110110

111111
if (respText.MESSAGE_TEXT.startsWith('UPDATE-ROW_')) {
@@ -114,7 +114,7 @@
114114
} else if (respText.S_USER_WARNING == true) {
115115
window.location.assign(window.location.href.replace(window.location.hash, ''));
116116
} else {
117-
phpbb.alert('{{ IMGUPLOAD_TITLE }}', xhr.responseText);
117+
phpbb.alert('{{ IMGUPLOAD_TITLE }}', respText.MESSAGE_TEXT);
118118
}
119119
}
120120
button.children[0].className = 'icon fa-save fa-fw';

0 commit comments

Comments
 (0)