]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 272472: attachment.cgi shouldn't clobber windows.onload; patch by Chris...
authorjocuri%softhome.net <>
Wed, 29 Dec 2004 07:50:57 +0000 (07:50 +0000)
committerjocuri%softhome.net <>
Wed, 29 Dec 2004 07:50:57 +0000 (07:50 +0000)
template/en/default/flag/list.html.tmpl

index cb7ff0d4873a13ff293d4f617e59bd5c76433434..cfec38144fcfa1ba7a99bf4d2e6ff0a1ce47dcc5 100644 (file)
@@ -21,6 +21,7 @@
 
 <script type="text/javascript">
 <!-- 
+  var stored_onload = window.onload;
   // Enables or disables a requestee field depending on whether or not
   // the user is requesting the corresponding flag.
   function toggleRequesteeField(flagField)
@@ -56,6 +57,9 @@
             inputElement.disabled = true;
       }
     }
+    if (stored_onload) {
+        stored_onload();
+    }
   }
   window.onload = disableRequesteeFields;
 // -->