You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/08/08 20:55:24 UTC
[14/43] git commit: fix for empty event detail page
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/vpc
Commit: 8d75c8fe7d01cf6598da96f3fc55c84b281972f0
Parents: 9c22d43
Author: Mice Xia <mi...@apache.org>
Authored: Wed Aug 8 15:49:27 2012 +0800
Committer: Mice Xia <mi...@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) {