From: Byron Jones Date: Wed, 13 Mar 2013 13:30:26 +0000 (+0800) Subject: Bug 850309: Allow pasted attachments to be flagged as patches X-Git-Tag: bugzilla-4.5.1~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748152ed2d61ca24dda49fa9c6f18d547229eeeb;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