diff options
author | Simon Knox <psimyn@gmail.com> | 2017-03-15 15:08:01 +0300 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-03-18 03:36:05 +0300 |
commit | 67eefe7eac45c36f8f8c6143f7df6e7eb47b7234 (patch) | |
tree | d2901ac69c6e67af8542635ae1f16a2eb323f7be /app/assets/javascripts/users_select.js | |
parent | 0eff4f14ccae7d979e6fa20f0bb875e4591351e8 (diff) |
don't show loading spinners for server-rendered sidebar fields
Diffstat (limited to 'app/assets/javascripts/users_select.js')
-rw-r--r-- | app/assets/javascripts/users_select.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/users_select.js b/app/assets/javascripts/users_select.js index c7a57b47834..eb897e9dfe9 100644 --- a/app/assets/javascripts/users_select.js +++ b/app/assets/javascripts/users_select.js @@ -53,7 +53,7 @@ $loading = $block.find('.block-loading').fadeOut(); var updateIssueBoardsIssue = function () { - $loading.fadeIn(); + $loading.removeClass('hidden').fadeIn(); gl.issueBoards.BoardsStore.detail.issue.update($dropdown.attr('data-issue-update')) .then(function () { $loading.fadeOut(); @@ -90,7 +90,7 @@ data = {}; data[abilityName] = {}; data[abilityName].assignee_id = selected != null ? selected : null; - $loading.fadeIn(); + $loading.removeClass('hidden').fadeIn(); $dropdown.trigger('loading.gl.dropdown'); return $.ajax({ type: 'PUT', |