aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/gotoplugin.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix sidebar not automatically hidden in Files appDaniel Calviño Sánchez2022-11-091-1/+1
| | | | | | | | | | | | | | | | Although the Files app creates the legacy sidebar (details view) it is then replaced with the newer Vue app sidebar. Due to this ".detailsView" no longer finds an element and therefore nothing was hidden when "hideAppSidebar($('.detailsView'))" was called (for example, when changing to another section). However, "OC.Apps.hideAppSidebar()" does not properly work either with the Vue sidebar used in the Files app (once hidden the sidebar is not shown again). For simplicity, and to avoid any possible side effect in other apps from changing "OC.Apps.hideAppSidebar", now "OC.Files.Sidebar.close()" is used instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* do not trigger events when setting active view in gotopluginJulien Veyssier2021-12-071-1/+1
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Fix files view change and undefined currentFileListJohn Molakvoæ2021-09-171-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Disable default actions in pending file listVincent Petry2021-07-271-0/+5
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix closing details view when viewing file in folderDaniel Calviño Sánchez2017-04-251-0/+1
| | | | | | | | | | | | The Files app active view is set to "files" in silent mode to avoid an unneeded load of the "/" directory. However, this also prevents the details view from being automatically closed, so it has to be explicitly closed by the Goto plugin; the approach used is the same that would have been used by OCA.Files.App._onNavigationChanged if not silenced. Fixes #1448 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add "goto" links for files in non-default file listsRobin Appelman2016-07-051-0/+58