fixed a lineage problem and checked in the new shortcut system
This commit is contained in:
parent
1d8973dc8b
commit
12094333ec
9 changed files with 181 additions and 154 deletions
|
|
@ -16,6 +16,7 @@ package WebGUI::Asset::Snippet;
|
|||
|
||||
use strict;
|
||||
use WebGUI::Asset;
|
||||
use WebGUI::Asset::Template;
|
||||
use WebGUI::Macro;
|
||||
use WebGUI::Session;
|
||||
|
||||
|
|
@ -134,7 +135,7 @@ sub view {
|
|||
my $output = WebGUI::Macro::process($self->get("snippet"));
|
||||
# if it's a javascript file this would break it
|
||||
# $output = '<p>'.$self->getToolbar.'</p>'.$output if ($session{var}{adminOn});
|
||||
return $output;
|
||||
return WebGUI::Asset::Template->processRaw($output);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue