overleaf/services/web/public/coffee/file-tree/DeletedDocsFolderView.coffee

34 lines
556 B
CoffeeScript
Raw Normal View History

2014-06-06 09:42:34 -04:00
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()
2014-06-11 05:46:45 -04:00
makeReadOnly: () ->
makeReadWrite: () ->
2014-06-06 09:42:34 -04:00