From a823a79f12dde467a48b0366821a505ed66ecd66 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 28 Sep 2015 15:57:57 +0200 Subject: [PATCH] Show loading spinner for first fetch of shares Whenever the sidebar first loads shares, show a spinner instead of an empty content --- core/js/sharedialogview.js | 31 ++++++++++++++++++++++++++----- core/js/shareitemmodel.js | 2 ++ 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 57743118f2..ee31ed3313 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -14,7 +14,7 @@ } var TEMPLATE_BASE = - '
' + + '
' + '{{#if isSharingAllowed}}' + '' + '
' + @@ -23,10 +23,10 @@ '{{{remoteShareInfo}}}' + '
' + '{{/if}}' + - '
' + - '
' + - '
' - ; + '
' + + '
' + + '
' + + ''; var TEMPLATE_REMOTE_SHARE_INFO = '