Fix the Sieve filters editor with new mail flags

This commit is contained in:
Francis Lachapelle
2013-11-21 08:50:24 -05:00
parent 5536f8967e
commit 682ed767d9
2 changed files with 3 additions and 3 deletions
@@ -13,7 +13,7 @@
>
<script type="text/javascript">
var filterId = '<var:string value="filterId"/>';
var labels = <var:string value="labels" const:escapeHTML="NO"/>;
var mailTags = <var:string value="labels" const:escapeHTML="0"/>;
</script>
<form id="mainForm" var:href="ownPath">
<div id="filterNameContainer" class="container">
+2 -2
View File
@@ -92,8 +92,8 @@ function setupConstants() {
"not_junk": _("Not Junk") };
for (var name in labels) {
flagLabels[name] = _( labels[name][0] );
for (var name in mailTags) {
flagLabels[name] = _( mailTags[name][0] );
}
}