Fix the Sieve filters editor with new mail flags

maint-2.1.1
Francis Lachapelle 2013-11-21 08:50:24 -05:00
parent 2cf66e037d
commit a9868b1c93
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
> >
<script type="text/javascript"> <script type="text/javascript">
var filterId = '<var:string value="filterId"/>'; var filterId = '<var:string value="filterId"/>';
var labels = <var:string value="labels"/>; var mailTags = <var:string value="labels" const:escapeHTML="0"/>;
</script> </script>
<form id="mainForm" var:href="ownPath"> <form id="mainForm" var:href="ownPath">
<div id="filterNameContainer" class="container"> <div id="filterNameContainer" class="container">

View File

@ -92,8 +92,8 @@ function setupConstants() {
"not_junk": _("Not Junk") }; "not_junk": _("Not Junk") };
for (var name in labels) { for (var name in mailTags) {
flagLabels[name] = _( labels[name][0] ); flagLabels[name] = _( mailTags[name][0] );
} }
} }