Fix bug where 'exists' operator was reset to 'contains' (#5899)

pull/5882/merge
Aleksander Machniak 7 years ago
parent 1a1137f020
commit dbc7e5b7c3

@ -40,6 +40,7 @@ CHANGELOG Roundcube Webmail
- Password: Fix compatibility with PHP 7+ in cpanel_webmail driver (#5820)
- Managesieve: Fix parsing dot-staffed lines in multiline text (#5838)
- Managesieve: Fix AM/PM suffix in vacation time selectors
- Managesieve: Fix bug where 'exists' operator was reset to 'contains' (#5899)
- Fix decoding non-ascii attachment names from TNEF attachments (#5646, #5799)
- Fix uninitialized string offset in rcube_utils::bin2ascii() and make sure rcube_utils::random_bytes() result has always requested length (#5788)
- Fix bug where HTML messages with @media styles could moddify style of page body (#5811)

@ -1,5 +1,6 @@
- Fix parsing dot-staffed lines in multiline text (#5838)
- Fix AM/PM suffix in vacation time selectors
- Fix bug where 'exists' operator was reset to 'contains' (#5899)
* version 8.9 [2017-05-22]
-----------------------------------------------------------

@ -677,7 +677,7 @@ function rule_header_select(id)
dateheader.style.display = h == 'date' ? '' : 'none';
$('[value="exists"],[value="notexists"]', rule).prop('disabled', h == 'string');
if (!rule.val() || rule.val().match(/^(exists|notexists)$/))
if (!rule.val())
rule.val('contains');
rule_op_select(op, id, h);

Loading…
Cancel
Save