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:
jocuri%softhome.net 2004-12-28 23:50:31 +00:00
parent df9b92fe8f
commit f23343b43c

View 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;
// -->