diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-24 06:45:44 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-24 06:45:44 +0100 |
commit | 3ac701266452d3509776fe58f9e1b2b8e9f33c1e (patch) | |
tree | 88124baaadb529b1c9809f6b3fa20384c1870780 /Bugzilla/Template.pm | |
parent | 11bd061970f8b9c98e6af43a4c8c7ca4bfff9eb3 (diff) | |
download | bugzilla-3ac701266452d3509776fe58f9e1b2b8e9f33c1e.tar.gz bugzilla-3ac701266452d3509776fe58f9e1b2b8e9f33c1e.tar.xz |
Bug 1096798: prototype modal show_bug view
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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} || ''; |