aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests/Command
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-23 13:58:43 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-26 04:56:25 +0100
commitea40ade8adc115b45c09be0dc5148cfe2530079c (patch)
tree7fc0d30806e72d2e371eb8d86e57e791fec72d35 /apps/files/tests/Command
parente37fa60784f94abb6715704ffcbd479c05938e3a (diff)
downloadnextcloud-server-ea40ade8adc115b45c09be0dc5148cfe2530079c.tar.gz
nextcloud-server-ea40ade8adc115b45c09be0dc5148cfe2530079c.zip
Fix "fileActions.currentFile" not set before using it
When an empty area of a file row was clicked and the "Details" action was executed "fileActions.currentFile" was not guaranteed to be set to the appropriate object (it depended on the previous actions of the user), so when it was used by "getCurrentMimeType()" and other FileActions functions they may not work as expected. Now it is explicitly set to the appropriate value before its use. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/tests/Command')
0 files changed, 0 insertions, 0 deletions