summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-29 08:50:31 +0100
committerjocuri%softhome.net <>2004-12-29 08:50:31 +0100
commit41fb744271f2a21a051c9d57b126d201e2f51b02 (patch)
tree81243fd23a4cdb6cb2aa693c3070ed769ec0fad2
parent9219df5e4373eefea894b244a557fb2830f96470 (diff)
downloadbugzilla-41fb744271f2a21a051c9d57b126d201e2f51b02.tar.gz
bugzilla-41fb744271f2a21a051c9d57b126d201e2f51b02.tar.xz
Patch for bug 272472: attachment.cgi shouldn't clobber windows.onload; patch by Christian Reis <kiko@async.com.br>, r=wurblzap, a=justdave.
-rw-r--r--template/en/default/flag/list.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index c93515842..08f8c5547 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -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;
// -->