mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #734 from sharelatex/sk-handle-403-linked-files
When refreshing or creating linked files, exempt from 403-error-catcher
This commit is contained in:
commit
158cb58e29
1 changed files with 4 additions and 0 deletions
|
@ -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) ->) ->
|
||||
|
|
Loading…
Reference in a new issue