nextcloud/apps/files/js
Daniel Calviño Sánchez 3113ee1129 Hide favourite icon in details view if favourite action is not available
When the favourite icon in the details view is clicked the "Favorite"
action is triggered. However, if the action name given to
"triggerAction" is not found then the "Download" action is triggered
instead. As the "Favorite" action is not available in some file lists
(like "Recents") the "Download" action was executed instead in those
cases, which was a strange behaviour. Now the favourite icon is
hidden if its action is not available.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-05 19:06:06 +01:00
..
templates Upload autorename on client side 2016-11-02 22:15:03 +01:00
admin.js Do not error on maxUploadChange 2016-08-22 20:25:58 +02:00
app.js Enable chunking for bigger files in authenticated web upload 2017-11-03 17:19:23 +01:00
breadcrumb.js Fixed breadcrumbs calculation and actions flow 2017-12-20 13:48:09 +01:00
detailfileinfoview.js Make file actions work from sidebar 2015-08-12 17:30:20 +02:00
detailsview.js Remove unused variables 2017-11-06 09:43:45 +01:00
detailtabview.js Hide sidebar tab headers conditionally 2015-09-28 14:57:44 +02:00
favoritesfilelist.js Remove unused variables 2017-11-06 09:43:45 +01:00
favoritesplugin.js Properly join path sections 2015-11-22 16:05:51 +01:00
file-upload.js Merge pull request #7533 from nextcloud/oc-28545-handle-oc-total-length-in-new-chunking 2018-01-03 16:18:24 +01:00
fileactions.js Remove internal unused property 2017-12-21 02:08:40 +01:00
fileactionsmenu.js Add support to FileActionsMenu for icon class functions 2017-10-19 01:46:13 +02:00
fileinfomodel.js added quit option in commentstabview.js 2017-03-23 13:12:29 -06:00
filelist.js Fixed quota update on upload and on delete 2018-01-03 17:53:48 +01:00
files.js Fixup! removed unwanted line 2018-01-03 17:55:53 +01:00
filesummary.js Translate file summary connector (#26221) 2016-09-27 18:38:56 +02:00
gotoplugin.js Fix closing details view when viewing file in folder 2017-04-25 17:45:42 +02:00
jquery-visibility.js update jquery-visibility in files app 2015-08-17 09:39:21 +02:00
jquery.fileupload.js properly fix folder upload to use delegatedEvent 2016-06-14 11:51:03 +02:00
keyboardshortcuts.js Fixed many issues, clean up 2014-05-15 17:51:04 +02:00
mainfileinfodetailview.js Hide favourite icon in details view if favourite action is not available 2018-01-05 19:06:06 +01:00
merged-index.json Merge file view JS files 2017-03-24 19:42:22 +01:00
navigation.js Only set the active item when there is one (not the case for quota) 2017-06-13 11:17:44 +02:00
newfilemenu.js Make new file file tooltip error text change 2017-05-21 08:23:17 +05:45
recentfilelist.js block user sorting in recent files 2016-07-22 15:20:55 +02:00
recentplugin.js Add recent file listing 2016-07-22 15:20:51 +02:00
search.js Use proper mime icons for search results 2017-05-16 14:30:49 +02:00
sidebarpreviewmanager.js allow registering sidebar preview handlers for mimetypes that dont come with server side previews 2016-12-01 15:43:17 +01:00
sidebarpreviewtext.js Do not fetch the whole text file for the sidebar preview 2017-08-03 20:32:59 +02:00
tagsplugin.js Remove requeriment for read permission on some actions 2017-11-02 19:37:01 +01:00
upload.js Improved Javascript docs for JSDoc 2014-10-31 13:43:30 +01:00