aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-03-24 23:44:05 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-24 23:44:05 +0100
commitdf24fa2207f56909084c613495b6f235b351c640 (patch)
tree12148c7300d8c1229fb558af6a0e646658e96f65
parente750448f5b32982170f81ca045f9f7e8dc8eed6f (diff)
Fix warning when tagging entries (#5221)
``` File not found: `/views/tag/tagEntry.phtml` ``` Because we had no view file for this call.
-rw-r--r--app/views/tag/tagEntry.phtml0
-rw-r--r--p/scripts/main.js2
2 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tag/tagEntry.phtml b/app/views/tag/tagEntry.phtml
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/app/views/tag/tagEntry.phtml
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;