X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMason.pm;h=de97a1915b2232f635e7f0e4151bcc067a6c517d;hb=0203210ca5880fc7c7d93b912925239916a12db4;hp=cc501c0b1c8ff7c65b0c6d78ce0a2ddae22b5920;hpb=aba86d4205a831c561fcf62a24d021c82c229d96;p=freeside.git diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index cc501c0b1..de97a1915 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -306,6 +306,7 @@ if ( -e $addl_handler_use_file ) { use FS::sales; use FS::access_groupsales; use FS::contact_class; + use FS::part_svc_class; # Sammath Naur if ( $FS::Mason::addl_handler_use ) { @@ -576,6 +577,8 @@ sub mason_interps { [ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ], ], escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8, + 'u' => \&RT::Interface::Web::EscapeURI, + 'j' => \&RT::Interface::Web::EscapeJS, 'js_string' => $js_string_sub, }, compiler => HTML::Mason::Compiler::ToObject->new(