diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-10 11:08:15 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-10 11:08:15 +0100 |
commit | 630bee749bc1dc59724c6b86b375081b6e345025 (patch) | |
tree | 4a10ea1f9f39d3393e410b3d92578e4d4659ba55 /core/js/sharedialoglinkshareview.js | |
parent | 9a2c517ca8eaf25bf142696e1479355112b1f108 (diff) | |
download | nextcloud-server-630bee749bc1dc59724c6b86b375081b6e345025.tar.gz nextcloud-server-630bee749bc1dc59724c6b86b375081b6e345025.zip |
Only show link spinner if the share exists
If there is no share to delete do not set the spinner.
Fixes #21726
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index efae618ba99..5b464ee9323 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -139,8 +139,8 @@ this.$el.find('.linkPassText').focus(); } } else { - $loading.removeClass('hidden'); if (this.model.get('linkShare').isLinkShare) { + $loading.removeClass('hidden'); this.model.removeLinkShare(); } else { this.$el.find('.linkPass').slideToggle(OC.menuSpeed); |