From 3ac701266452d3509776fe58f9e1b2b8e9f33c1e Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 24 Mar 2015 13:45:44 +0800 Subject: Bug 1096798: prototype modal show_bug view --- Bugzilla/Template.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index efc2b5931..3664fca81 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -1125,6 +1125,9 @@ sub create { my $template = $class->new($config) || die("Template creation failed: " . $class->error()); + # BMO - hook for defining new vmethods, etc + Bugzilla::Hook::process('template_after_create', { template => $template }); + # Pass on our current language to any template hooks or inner templates # called by this Template object. $template->context->{bz_language} = $opts{language} || ''; -- cgit v1.2.3-24-g4f1b