nextcloud/apps/systemtags
Daniel Calviño Sánchez 9e767b46ec 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>
2017-06-09 09:02:14 +02:00
..
appinfo Split multi-author entries 2017-05-22 10:39:49 +02:00
css Fix systemtagsfilelist unwanted margin and clean aera a bit 2016-11-22 10:49:24 +01:00
img Remove PNG fallbacks from files app (#26308) 2016-10-10 15:08:40 +02:00
js Fix toggle element being removed when MainFileInfoView is rendered again 2017-06-09 09:02:14 +02:00
l10n [tx-robot] updated from transifex 2017-06-07 00:09:00 +00:00
lib Move systemtags and comments to new accesslist functions 2017-04-20 14:34:28 +02:00
templates Wording fixes 2017-04-25 17:45:35 +02:00
tests Move admin settings to workflow section 2016-08-22 08:35:03 +02:00
list.php Fix apps/ 2016-07-21 18:13:57 +02:00