We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6b0a0d commit c68b40aCopy full SHA for c68b40a
imcger/imgupload/styles/all/template/event/overall_footer_body_after.html
@@ -105,7 +105,7 @@
105
106
xhr.onreadystatechange = function() {
107
if (xhr.readyState === 4) {
108
- if (xhr.responseText) {
+ if (xhr.responseText) {
109
let respText = JSON.parse(xhr.responseText);
110
111
if (respText.MESSAGE_TEXT.startsWith('UPDATE-ROW_')) {
@@ -114,7 +114,7 @@
114
} else if (respText.S_USER_WARNING == true) {
115
window.location.assign(window.location.href.replace(window.location.hash, ''));
116
} else {
117
- phpbb.alert('{{ IMGUPLOAD_TITLE }}', xhr.responseText);
+ phpbb.alert('{{ IMGUPLOAD_TITLE }}', respText.MESSAGE_TEXT);
118
}
119
120
button.children[0].className = 'icon fa-save fa-fw';
0 commit comments