From 748152ed2d61ca24dda49fa9c6f18d547229eeeb Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 13 Mar 2013 21:30:26 +0800 Subject: Bug 850309: Allow pasted attachments to be flagged as patches r=LpSolit, a=LpSolit --- js/attachment.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'js') diff --git a/js/attachment.js b/js/attachment.js index 0c1560de0..d9bdabc4e 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