aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2024-07-29 12:15:18 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2024-09-04 23:19:37 +0200
commitcaa79365308af3a05fc05cd3dd19841b14b480be (patch)
tree24ac907bd12b83d961ab3f92c9b88114ca88eccd /apps/files_external
parent8d3ff42f78143aa3a6bfcea38a82aaea20c77f6a (diff)
downloadnextcloud-server-caa79365308af3a05fc05cd3dd19841b14b480be.tar.gz
nextcloud-server-caa79365308af3a05fc05cd3dd19841b14b480be.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>
Diffstat (limited to 'apps/files_external')
-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 38d18ab3311..69b5e007a2b 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -1266,7 +1266,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)) {