fix for empty event detail page

This commit is contained in:
Mice Xia 2012-08-08 15:49:27 +08:00
parent 9c22d43e81
commit 8d75c8fe7d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {