mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
30 lines
509 B
CoffeeScript
30 lines
509 B
CoffeeScript
|
define [
|
||
|
"file-tree/FolderView"
|
||
|
], (FolderView) ->
|
||
|
DeletedDocsFolderView = FolderView.extend
|
||
|
template: $("#deletedDocsFolderTemplate").html()
|
||
|
|
||
|
render: () ->
|
||
|
@$el.append(Mustache.to_html @template, @model.attributes)
|
||
|
@_bindToDomElements()
|
||
|
@hideRenameBox()
|
||
|
@hideToggle()
|
||
|
@renderEntries()
|
||
|
@showEntries()
|
||
|
return @
|
||
|
|
||
|
onClick: () ->
|
||
|
e.preventDefault()
|
||
|
|
||
|
onToggle: () ->
|
||
|
e.preventDefault()
|
||
|
|
||
|
getContextMenuEntries: () -> null
|
||
|
|
||
|
hideToggle: () ->
|
||
|
@$(".js-toggle").hide()
|
||
|
|
||
|
|
||
|
|
||
|
|