]> 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:31 +0000 (07:50 +0000)
committerjocuri%softhome.net <>
Wed, 29 Dec 2004 07:50:31 +0000 (07:50 +0000)
template/en/default/flag/list.html.tmpl

index c93515842838da54a97e084807e1a974d0e88926..08f8c5547ffd1199989acdc7ebb80fc8cae763fb 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)
@@ -59,6 +60,9 @@
             inputElement.disabled = true;
       }
     }
+    if (stored_onload) {
+        stored_onload();
+    }
   }
   window.onload = disableRequesteeFields;
 // -->