mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: wrong track view header
This commit is contained in:
@@ -47,7 +47,7 @@ Discourse.Ajax = Em.Mixin.create({
|
|||||||
|
|
||||||
if (_trackView && (!args.type || args.type === "GET")) {
|
if (_trackView && (!args.type || args.type === "GET")) {
|
||||||
_trackView = false;
|
_trackView = false;
|
||||||
args.headers['Discourse-Track-View'] = true;
|
args.headers['HTTP_DISCOURSE_TRACK_VIEW'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
args.success = function(data, textStatus, xhr) {
|
args.success = function(data, textStatus, xhr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user