diff options
author | reed%reedloden.com <> | 2007-03-07 13:37:34 +0000 |
---|---|---|
committer | reed%reedloden.com <> | 2007-03-07 13:37:34 +0000 |
commit | a86c4419c49f98064ac3f351d1b173081a6ce75d (patch) | |
tree | a4050c3816b6d6ff9236d78a2c32b0a878cac595 /js | |
parent | aa4cacfd7b283193e36a6a85bdfb8f93749108a5 (diff) | |
download | bugs-a86c4419c49f98064ac3f351d1b173081a6ce75d.tar bugs-a86c4419c49f98064ac3f351d1b173081a6ce75d.tar.gz bugs-a86c4419c49f98064ac3f351d1b173081a6ce75d.tar.bz2 bugs-a86c4419c49f98064ac3f351d1b173081a6ce75d.tar.xz bugs-a86c4419c49f98064ac3f351d1b173081a6ce75d.zip |
Bug 372997 - "JavaScript warnings in attachment.js" [p=reed r=timeless a=mkanat]
Diffstat (limited to 'js')
-rw-r--r-- | js/attachment.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/attachment.js b/js/attachment.js index 6baaad50e..467dda113 100644 --- a/js/attachment.js +++ b/js/attachment.js @@ -93,14 +93,14 @@ function clearAttachmentFields() { document.getElementById('data').value = ''; DataFieldHandler(); - if (element = document.getElementById('bigfile')) + if ((element = document.getElementById('bigfile'))) element.checked = ''; - if (element = document.getElementById('attachurl')) { + if ((element = document.getElementById('attachurl'))) { element.value = ''; URLFieldHandler(); } document.getElementById('description').value = ''; document.getElementById('ispatch').checked = ''; - if (element = document.getElementById('isprivate')) + if ((element = document.getElementById('isprivate'))) element.checked = ''; } |