]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 359854: Put set_assign_to() back into onload - Patch by Frédéric Buclin <LpSoli...
authorlpsolit%gmail.com <>
Wed, 12 Aug 2009 12:49:15 +0000 (12:49 +0000)
committerlpsolit%gmail.com <>
Wed, 12 Aug 2009 12:49:15 +0000 (12:49 +0000)
template/en/default/bug/create/create.html.tmpl

index 531e9374bf2bfd2fdb437757ea220984a7be3bdf..dab451ed7c7769127b7016e80a05125370bf38f2 100644 (file)
@@ -34,6 +34,7 @@
                  'skins/standard/yui/calendar.css' ]
   javascript_urls = [ "js/attachment.js", "js/util.js", "js/yui/calendar.js",
                       "js/field.js", "js/yui/cookie.js", "js/TUI.js" ]
+  onload = 'set_assign_to();'
 %]
 
 <script type="text/javascript">
@@ -418,10 +419,6 @@ TUI_hide_default('expert_fields');
     <th>Default CC:</th>
     <td colspan="2">
       <div id="initial_cc">
-          <!-- This has to happen after everything above renders,
-               and onload doesn't work. So this is as good a place
-               as any to put it. -->
-          <script type="text/javascript">set_assign_to();</script>
       </div>
    </td>
   </tr>