Fix favorites don't keep new size

This commit is contained in:
Nathan Gray 2015-01-12 16:51:33 +00:00
parent 9371a62019
commit 336b10ca75

View File

@ -70,8 +70,8 @@ class home_favorite_portlet extends home_portlet
$need_reload = true; $need_reload = true;
} }
// Title not set for new widgets created via context menu // Favorite not set for new widgets created via context menu
if(!$context['title']) if(!$context['favorite'])
{ {
// Set initial size to 6x3, default is way too small // Set initial size to 6x3, default is way too small
$context['width'] = 6; $context['width'] = 6;