Skip to content

A free, self-hostable news aggregator…

Fix warning when tagging entries (#5221)

Alexandre Alapetitedf24fa2207f5
diff --git a/app/views/tag/tagEntry.phtml b/app/views/tag/tagEntry.phtml
new file mode 100644
index 000000000..e69de29bb
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 28886180e..521ed263b 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -1188,7 +1188,7 @@ function init_stream(stream) {
checkboxTag.disabled = true;
const req = new XMLHttpRequest();
- req.open('POST', './?c=tag&a=tagEntry', true);
+ req.open('POST', './?c=tag&a=tagEntry&ajax=1', true);
req.responseType = 'json';
req.onerror = function (e) {
checkboxTag.checked = !isChecked;