From 3c61e66fe3d24f183628a7396a3fcd720a95abeb Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 8 Jul 2010 18:58:33 +0200 Subject: 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 --- js/attachment.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js') 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(); -- cgit v1.2.3-24-g4f1b