Patch for bug 272472: attachment.cgi shouldn't clobber windows.onload; patch by Christian Reis <kiko@async.com.br>, r=wurblzap, a=justdave.

git-svn-id: svn://10.0.0.236/trunk@167075 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jocuri%softhome.net 2004-12-28 23:50:57 +00:00
parent 5bfe8e1ef9
commit a092ade97c

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