Selaa lähdekoodia

Fix warning when tagging entries (#5221)

```
File not found: `/views/tag/tagEntry.phtml`
```

Because we had no view file for this call.
Alexandre Alapetite 3 vuotta sitten
vanhempi
commit
df24fa2207
2 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 0 0
      app/views/tag/tagEntry.phtml
  2. 1 1
      p/scripts/main.js

+ 0 - 0
app/views/tag/tagEntry.phtml


+ 1 - 1
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;