From b6880550d59f0ac2ca9e3084d853d65bd2ff22cd Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 6 Jul 2018 11:29:21 +0100 Subject: [PATCH] When refreshing or creating linked files, exempt from 403-error-catcher --- .../web/public/coffee/ide/file-tree/FileTreeManager.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee b/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee index dbfe2bf2f1..7a8a5de3d9 100644 --- a/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee +++ b/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee @@ -386,6 +386,8 @@ define [ provider, data, _csrf: window.csrfToken + }, { + disableAutoLoginRedirect: true } refreshLinkedFile: (file) -> @@ -396,6 +398,8 @@ define [ return return @ide.$http.post "/project/#{@ide.project_id}/linked_file/#{file.id}/refresh", { _csrf: window.csrfToken + }, { + disableAutoLoginRedirect: true } renameEntity: (entity, name, callback = (error) ->) ->