diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-07-08 18:58:33 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-07-08 18:58:33 +0200 |
commit | 3c61e66fe3d24f183628a7396a3fcd720a95abeb (patch) | |
tree | 8745d0af24240755abea97ea45469715d813c803 /js | |
parent | Bump the version number to 4.1 on trunk. (diff) | |
download | bugzilla-3c61e66fe3d24f183628a7396a3fcd720a95abeb.tar.gz bugzilla-3c61e66fe3d24f183628a7396a3fcd720a95abeb.tar.bz2 bugzilla-3c61e66fe3d24f183628a7396a3fcd720a95abeb.zip |
Bug 490930: Always store attachments locally if they are over X size (and below some threshold!), don't ever display "Big File" checkbox
r=mkanat a=LpSolit
Diffstat (limited to 'js')
-rw-r--r-- | js/attachment.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/attachment.js b/js/attachment.js index d759248cd..314e4acb1 100644 --- a/js/attachment.js +++ b/js/attachment.js @@ -56,8 +56,7 @@ function setContentTypeDisabledState(form) function URLFieldHandler() { var field_attachurl = document.getElementById("attachurl"); var greyfields = new Array("data", "ispatch", "autodetect", - "list", "manual", "bigfile", - "contenttypeselection", + "list", "manual", "contenttypeselection", "contenttypeentry"); var i, thisfield; if (field_attachurl.value.match(/^\s*$/)) { @@ -103,8 +102,6 @@ function clearAttachmentFields() { document.getElementById('data').value = ''; DataFieldHandler(); - if ((element = document.getElementById('bigfile'))) - element.checked = ''; if ((element = document.getElementById('attachurl'))) { element.value = ''; URLFieldHandler(); |