From: Byron Jones Date: Wed, 13 Mar 2013 13:34:23 +0000 (+0800) Subject: Bug 850309: Allow pasted attachments to be flagged as patches X-Git-Tag: bugzilla-4.4~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b08552abc99daefe16e992b6ea5bfa79302b2e6d;p=thirdparty%2Fbugzilla.git Bug 850309: Allow pasted attachments to be flagged as patches r=LpSolit, a=LpSolit --- diff --git a/js/attachment.js b/js/attachment.js index 0c1560de08..d9bdabc4ea 100644 --- a/js/attachment.js +++ b/js/attachment.js @@ -24,13 +24,12 @@ function updateCommentPrivacy(checkbox) { } } -function setContentTypeDisabledState(form) -{ +function setContentTypeDisabledState(form) { var isdisabled = false; if (form.ispatch.checked) isdisabled = true; - for (var i=0 ; i