From 2468425cbde40537364f5e20a4317783903e26e8 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 13 Mar 2013 21:35:24 +0800 Subject: Bug 850309: Allow pasted attachments to be flagged as patches --- js/attachment.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'js/attachment.js') diff --git a/js/attachment.js b/js/attachment.js index 7861164b1..f967f64d3 100644 --- a/js/attachment.js +++ b/js/attachment.js @@ -40,13 +40,12 @@ function updateCommentPrivacy(checkbox) { } } -function setContentTypeDisabledState(form) -{ +function setContentTypeDisabledState(form) { var isdisabled = false; if (form.ispatch.checked) isdisabled = true; - for (var i=0 ; i