diff options
author | jocuri%softhome.net <> | 2004-12-29 08:50:31 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-12-29 08:50:31 +0100 |
commit | 41fb744271f2a21a051c9d57b126d201e2f51b02 (patch) | |
tree | 81243fd23a4cdb6cb2aa693c3070ed769ec0fad2 /template/en/default | |
parent | 9219df5e4373eefea894b244a557fb2830f96470 (diff) | |
download | bugzilla-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.
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 4 |
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; // --> |