mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 04:05:25 -05:00
Show diffs of deleted docs
This commit is contained in:
parent
cabaf1ae1a
commit
1e31024bd7
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ define [
|
||||||
Diff = Backbone.Model.extend
|
Diff = Backbone.Model.extend
|
||||||
initialize: (attributes, options) ->
|
initialize: (attributes, options) ->
|
||||||
@ide = options.ide
|
@ide = options.ide
|
||||||
@set "doc", @ide.fileTreeManager.getEntity(@get("doc_id"))
|
@set "doc", @ide.fileTreeManager.getEntity(@get("doc_id"), include_deleted: true)
|
||||||
|
|
||||||
url: () ->
|
url: () ->
|
||||||
url = "/project/#{@get("project_id")}/doc/#{@get("doc_id")}/diff"
|
url = "/project/#{@get("project_id")}/doc/#{@get("doc_id")}/diff"
|
||||||
|
|
Loading…
Reference in a new issue