aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2023-04-18 09:58:21 +0200
committerMax <max@nextcloud.com>2023-05-03 09:52:36 +0200
commit337fc110ec76f5287bc8e27320d2cff1ab7710f8 (patch)
tree534cde9862e5c714072e213efd7acc0bdd3bdaeb /apps/files/js/files.js
parent8873960bcfd9df8433faa5754b65ae3f2e55c1c7 (diff)
downloadnextcloud-server-337fc110ec76f5287bc8e27320d2cff1ab7710f8.tar.gz
nextcloud-server-337fc110ec76f5287bc8e27320d2cff1ab7710f8.zip
fix: catch ManuallyLockedException and use app context
The files_lock app may throw ManuallyLockedExceptions when attempting to revert a file that is currently opened. This would prevent the user from rolling back a opened file. Text and Richdocuments handle changes of the file while editing. Allow reverting files even when they are locked by these apps and let the apps handle the conflict. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'apps/files/js/files.js')
0 files changed, 0 insertions, 0 deletions