You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/12/04 16:42:50 UTC

git commit: updated refs/heads/master to 4ecf6df

Updated Branches:
  refs/heads/master 13740ac13 -> 4ecf6df5f


Fixed issue with ListView 'needsRefresh' overlays not being removed

JIRA-5368


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4ecf6df5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4ecf6df5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4ecf6df5

Branch: refs/heads/master
Commit: 4ecf6df5f64cc048cac110dbb73f11c66dc16750
Parents: 13740ac
Author: Chris Suich <ch...@netapp.com>
Authored: Wed Dec 4 10:06:05 2013 -0500
Committer: Brian Federle <br...@citrix.com>
Committed: Wed Dec 4 07:38:03 2013 -0800

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4ecf6df5/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 53b37f1..06b8521 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -370,6 +370,12 @@
                                     }
                                 }
 
+                                if (needsRefresh) {
+                                    if (!$listView.closest('.detail-view').size()) {
+                                        $loading.remove();
+                                    }
+                                }
+
                                 if (options.error) options.error(message);
 
                                 if (message) cloudStack.dialog.notice({