From 9eeb3cf423ed2a2e4d06d5774905b8c57f1e1f5c Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Mon, 29 Jul 2024 12:15:18 +0200 Subject: fix: Set status tooltip to status message when saving an storage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/files_external/js/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_external') 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)) { -- cgit v1.2.3