Browse Source

Allow to unfavorite all files

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/18241/head
Joas Schilling 6 years ago
parent
commit
5ede4aa179
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 3
      apps/files/js/tagsplugin.js

3
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);

Loading…
Cancel
Save