diff options
author | Joas Schilling <coding@schilljs.com> | 2019-12-05 09:39:32 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-05 09:39:32 +0100 |
commit | 5ede4aa179327c37d2e2165e5e25d8bcee426d3e (patch) | |
tree | 9c6f98e10a2433b0e3543bd7e81a1409fb4762d9 /apps | |
parent | c3d223fa58fdc23333fe68976edff538cf7dbeab (diff) | |
download | nextcloud-server-5ede4aa179327c37d2e2165e5e25d8bcee426d3e.tar.gz nextcloud-server-5ede4aa179327c37d2e2165e5e25d8bcee426d3e.zip |
Allow to unfavorite all files
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/tagsplugin.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js index 572a399063e..8480adbc93b 100644 --- a/apps/files/js/tagsplugin.js +++ b/apps/files/js/tagsplugin.js @@ -69,7 +69,7 @@ apppath=appfolder.substring(1, appfolder.length); } - $(listULElements).find('[data-dir="' + apppath + '"]').remove(); + $(listULElements).find('[data-dir="' + _.escape(apppath) + '"]').remove(); if (listULElements.childElementCount === 0) { var collapsibleButton = $(listULElements).parent().find('button.collapse'); @@ -98,7 +98,6 @@ apppath = appfolder.substring(1, appfolder.length); } var url = OC.generateUrl('/apps/files/?dir=' + apppath + '&view=files'); - var innerTagA = document.createElement('A'); innerTagA.setAttribute("href", url); |