summaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactionsmenu.js
Commit message (Collapse)AuthorAgeFilesLines
* Add support to FileActionsMenu for icon class functionsDaniel Calviño Sánchez2017-10-191-0/+5
| | | | | | | | | | | | Icon class function properties make possible to render a different icon class depending on the context of the file action. Inline file actions had support for them already and called them passing the file name and context of the file action as parameters. Due to this the FileActionsMenu passes those parameters too to icon class functions instead of just the context like done for display name functions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Make file actions use icon CSS classesRoeland Jago Douma2016-02-251-1/+10
| | | | This makes theming of file actions possible
* Bring back file delete action text to be based on contextVincent Petry2015-12-111-0/+8
| | | | | | | | For received shares, the delete action becomes "Unshare" and for personal mounts it becomes "Disconnect storage". This also makes it possible from now on to pass a function to a file action's "displayName" attribute.
* Fix order of actions in the files actions menuVincent Petry2015-09-281-0/+8
|
* Combine upload action into the "New" menuVincent Petry2015-08-281-2/+2
| | | | Refactored the new menu to be encapsulated in the NewFileMenu JS class
* Fixed file actions menu to close when reclicking triggerVincent Petry2015-08-111-33/+14
| | | | | | FileActionsMenu is now a backbone view. The trigger and highlight handling is now done in the FileActions.showMenu() method using events.
* Added bubble style, applied to file actions menuVincent Petry2015-08-101-1/+1
|
* Updated unit tests for file actions and actions menuVincent Petry2015-08-101-6/+8
|
* Implement file actions dropdownVincent Petry2015-08-101-0/+149
File actions now have two types "inline" and "dropdown". The default is "dropdown". The file actions will now be shown in a dropdown menu.