aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2024-07-29 12:15:18 +0200
committerskjnldsv <skjnldsv@protonmail.com>2024-09-04 09:46:17 +0200
commit9eeb3cf423ed2a2e4d06d5774905b8c57f1e1f5c (patch)
tree988467a2fcf309ec70534629087708789f84611b
parentd0ba10d6ae3d0187ac70dae6e2c24b7e9bca519e (diff)
downloadnextcloud-server-9eeb3cf423ed2a2e4d06d5774905b8c57f1e1f5c.tar.gz
nextcloud-server-9eeb3cf423ed2a2e4d06d5774905b8c57f1e1f5c.zip
fix: Set status tooltip to status message when saving an storage
When a storage is saved the status check can fail even if saving the storage succeeds. In those cases further details are provided in the status message of the storage, which is now set as the tooltip, similarly to how it is done when rechecking the storage. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--apps/files_external/js/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index b4e1cc04498..7b571e834e5 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -1262,7 +1262,7 @@ MountConfigListView.prototype = _.extend({
if (concurrentTimer === undefined
|| $tr.data('save-timer') === concurrentTimer
) {
- self.updateStatus($tr, result.status);
+ self.updateStatus($tr, result.status, result.statusMessage);
$tr.data('id', result.id);
if (_.isFunction(callback)) {