incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: fix for empty event detail page
Date Wed, 08 Aug 2012 07:48:07 GMT
Updated Branches:
  refs/heads/master 9c22d43e8 -> 8d75c8fe7


fix for empty event detail page


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

Branch: refs/heads/master
Commit: 8d75c8fe7d01cf6598da96f3fc55c84b281972f0
Parents: 9c22d43
Author: Mice Xia <mice@apache.org>
Authored: Wed Aug 8 15:49:27 2012 +0800
Committer: Mice Xia <mice@apache.org>
Committed: Wed Aug 8 15:49:27 2012 +0800

----------------------------------------------------------------------
 ui/scripts/ui/widgets/detailView.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/8d75c8fe/ui/scripts/ui/widgets/detailView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/detailView.js b/ui/scripts/ui/widgets/detailView.js
index eb39b80..fc2ae45 100644
--- a/ui/scripts/ui/widgets/detailView.js
+++ b/ui/scripts/ui/widgets/detailView.js
@@ -846,7 +846,7 @@
                   context: context
                 }) : true
             ) : true;
-      if ($actions.find('div.action').size() || (detailViewArgs.viewAll && showViewAll))
{
+      if ($actions && ($actions.find('div.action').size() || (detailViewArgs.viewAll
&& showViewAll))) {
         $actions.prependTo($firstRow.closest('div.detail-group').closest('.details'));
       }
       if (detailViewArgs.viewAll && showViewAll) {


Mime
View raw message