Mail filters: CSS fix for input field length

The extra input field for rules based on a custom header must be smaller
in order for the rule to span only one row.
This commit is contained in:
Francis Lachapelle
2012-09-18 11:27:11 -04:00
parent 9669cd37c4
commit a98bd71ec4

View File

@@ -312,7 +312,7 @@ function ensureFieldCustomHeaderRepresentation(container, fieldSpan) {
}
if (container.rule.field == "header") {
if (!headerInput) {
headerInput = createElement("input", null, "textField",
headerInput = createElement("input", null, null,
{ type: "text" }, null, fieldSpan);
headerInput.rule = container.rule;
if (!container.rule.custom_header)