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:
parent
5bfe8e1ef9
commit
a092ade97c
@ -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