mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-08 16:03:21 +00:00
Patch for bug 272472: attachment.cgi shouldn't clobber windows.onload; patch by Christian Reis <kiko@async.com.br>, r=wurblzap, a=justdave.
This commit is contained in:
parent
df9b92fe8f
commit
f23343b43c
@ -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;
|
||||
// -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user