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:43:06 UTC

git commit: updated refs/heads/4.3 to a00f188

Updated Branches:
  refs/heads/4.3 2794a9398 -> a00f1887c


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/a00f1887
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a00f1887
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a00f1887

Branch: refs/heads/4.3
Commit: a00f1887c46632538b8390fa420cff4b1595f420
Parents: 2794a93
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:42:00 2013 -0800

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a00f1887/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({