mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 10:23:32 +00:00
When refreshing or creating linked files, exempt from 403-error-catcher
This commit is contained in:
parent
4ffc097804
commit
b6880550d5
1 changed files with 4 additions and 0 deletions
|
@ -386,6 +386,8 @@ define [
|
||||||
provider,
|
provider,
|
||||||
data,
|
data,
|
||||||
_csrf: window.csrfToken
|
_csrf: window.csrfToken
|
||||||
|
}, {
|
||||||
|
disableAutoLoginRedirect: true
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshLinkedFile: (file) ->
|
refreshLinkedFile: (file) ->
|
||||||
|
@ -396,6 +398,8 @@ define [
|
||||||
return
|
return
|
||||||
return @ide.$http.post "/project/#{@ide.project_id}/linked_file/#{file.id}/refresh", {
|
return @ide.$http.post "/project/#{@ide.project_id}/linked_file/#{file.id}/refresh", {
|
||||||
_csrf: window.csrfToken
|
_csrf: window.csrfToken
|
||||||
|
}, {
|
||||||
|
disableAutoLoginRedirect: true
|
||||||
}
|
}
|
||||||
|
|
||||||
renameEntity: (entity, name, callback = (error) ->) ->
|
renameEntity: (entity, name, callback = (error) ->) ->
|
||||||
|
|
Loading…
Reference in a new issue