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;
|
var isdisabled = false;
|
||||||
if (form.ispatch.checked)
|
if (form.ispatch.checked)
|
||||||
isdisabled = true;
|
isdisabled = true;
|
||||||
@ -39,9 +38,8 @@ function setContentTypeDisabledState(form)
|
|||||||
|
|
||||||
function TextFieldHandler() {
|
function TextFieldHandler() {
|
||||||
var field_text = document.getElementById("attach_text");
|
var field_text = document.getElementById("attach_text");
|
||||||
var greyfields = new Array("data", "ispatch", "autodetect",
|
var greyfields = new Array("data", "autodetect", "list", "manual",
|
||||||
"list", "manual", "contenttypeselection",
|
"contenttypeselection", "contenttypeentry");
|
||||||
"contenttypeentry");
|
|
||||||
var i, thisfield;
|
var i, thisfield;
|
||||||
if (field_text.value.match(/^\s*$/)) {
|
if (field_text.value.match(/^\s*$/)) {
|
||||||
for (i = 0; i < greyfields.length; i++) {
|
for (i = 0; i < greyfields.length; i++) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user