When refreshing or creating linked files, exempt from 403-error-catcher

This commit is contained in:
Shane Kilkelly 2018-07-06 11:29:21 +01:00
parent 4ffc097804
commit b6880550d5

View file

@ -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) ->) ->