Skip to content

Commit

Permalink
use getStyleTemplateId so mobile styles are obeyed.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Aug 10, 2011
1 parent 8277383 commit 7789103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset/Event.pm
Expand Up @@ -2419,7 +2419,7 @@ ENDJS
my $template;
if ($parent) {
$template = WebGUI::Asset::Template->newById($session,$parent->templateIdEventEdit);
$template->style($parent->styleTemplateId);
$template->style($parent->getStyleTemplateId);
}
else {
$template = WebGUI::Asset::Template->newById($session,"CalendarEventEdit00001");
Expand Down

0 comments on commit 7789103

Please sign in to comment.