Bug 850309: Allow pasted attachments to be flagged as patches
r=LpSolit, a=LpSolit git-svn-id: svn://10.0.0.236/trunk@264793 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
305c904b57
commit
a0dad8aed9
@ -1 +1 @@
|
||||
8589
|
||||
8590
|
||||
@ -24,8 +24,7 @@ function updateCommentPrivacy(checkbox) {
|
||||
}
|
||||
}
|
||||
|
||||
function setContentTypeDisabledState(form)
|
||||
{
|
||||
function setContentTypeDisabledState(form) {
|
||||
var isdisabled = false;
|
||||
if (form.ispatch.checked)
|
||||
isdisabled = true;
|
||||
@ -39,9 +38,8 @@ function setContentTypeDisabledState(form)
|
||||
|
||||
function TextFieldHandler() {
|
||||
var field_text = document.getElementById("attach_text");
|
||||
var greyfields = new Array("data", "ispatch", "autodetect",
|
||||
"list", "manual", "contenttypeselection",
|
||||
"contenttypeentry");
|
||||
var greyfields = new Array("data", "autodetect", "list", "manual",
|
||||
"contenttypeselection", "contenttypeentry");
|
||||
var i, thisfield;
|
||||
if (field_text.value.match(/^\s*$/)) {
|
||||
for (i = 0; i < greyfields.length; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user