summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-06-09 08:57:34 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-06-09 09:02:14 +0200
commit9e767b46ec24cf9ff559339950fdfd2f7f6bd1bf (patch)
tree8effe97f9ecff13e2e206b885a709552f9f04c4b /ocs
parent599274f5096d04f63b95bd97b521963ef14a4ae1 (diff)
downloadnextcloud-server-9e767b46ec24cf9ff559339950fdfd2f7f6bd1bf.tar.gz
nextcloud-server-9e767b46ec24cf9ff559339950fdfd2f7f6bd1bf.zip
Fix toggle element being removed when MainFileInfoView is rendered again
The toggle element was added to the MainFileInfoView element when SystemTagsInfoView was rendered. However, if the MainFileInfoView was rendered again after that the toggle element was removed. Therefore, instead of adding it when SystemTagsInfoView is rendered, the toggle element has to be added when MainFileInfoView triggers its "post-render" event. Note, however, that when MainFileInfoView is rendered all the events are removed from its child elements. As the toggle uses a "click" event either the event has to be added back or the element has to be detached before the MainFileInfoView is rendered. Fixes #4944 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'ocs')
0 files changed, 0 insertions, 0 deletions