From 3700f44dcd4fddb7798619451275b05f12a99032 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 26 Sep 2012 14:32:58 +0800 Subject: Bug 437212: sync bmo code with upstream --- template/en/default/bug/show-header.html.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'template/en') diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl index f71c2a22a..40f35ba7c 100644 --- a/template/en/default/bug/show-header.html.tmpl +++ b/template/en/default/bug/show-header.html.tmpl @@ -35,7 +35,7 @@ [% header = "$terms.Bug $bug.bug_id" %] [% header_addl_info = "Last modified: $filtered_timestamp" %] [% yui = ['autocomplete', 'calendar'] %] -[% javascript_urls = [ "js/util.js", "js/field.js", "js/show_bug.js" ] %] +[% javascript_urls = [ "js/util.js", "js/field.js" ] %] [% IF bug.defined %] [% unfiltered_title = "$terms.Bug $bug.bug_id – $bug.short_desc" %] [% javascript = BLOCK %] @@ -52,6 +52,9 @@ history.replaceState(null, "[% unfiltered_title FILTER js %]", href); } } + YAHOO.util.Event.onDOMReady(function() { + initDirtyFieldTracking(); + }); [% javascript FILTER none %] [% END %] [% END %] -- cgit v1.2.3-24-g4f1b