Skip to content
Commit 599274f5 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Trigger pre and post render events in MainFileInfoDetailsView



The post-render event makes possible to modify the
MainFileInfoDetailsView element once it has been rendered, which is
needed by OCA.SystemTags.FilesPlugin to add the "Tags" label to the file
details, while the pre-render event makes possible to detach added
elements if needed before the MainFileInfoDetailsView is rendered again,
as that removes the events from the child DOM elements even if they
belong to other views.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 0a3d9f25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment