mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 20:36:39 +08:00
FIX: wrong track view header
This commit is contained in:
parent
969f6ad1d0
commit
8f435fcbf6
|
@ -47,7 +47,7 @@ Discourse.Ajax = Em.Mixin.create({
|
|||
|
||||
if (_trackView && (!args.type || args.type === "GET")) {
|
||||
_trackView = false;
|
||||
args.headers['Discourse-Track-View'] = true;
|
||||
args.headers['HTTP_DISCOURSE_TRACK_VIEW'] = true;
|
||||
}
|
||||
|
||||
args.success = function(data, textStatus, xhr) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user