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

pull/5922/head
Aleksander Machniak 7 years ago
parent b6298429f1
commit f8e6302c85

@ -6,6 +6,7 @@ CHANGELOG Roundcube Webmail
- Password: Fix compatibility with PHP 7+ in cpanel_webmail driver (#5820) - Password: Fix compatibility with PHP 7+ in cpanel_webmail driver (#5820)
- Managesieve: Fix parsing dot-staffed lines in multiline text (#5838) - Managesieve: Fix parsing dot-staffed lines in multiline text (#5838)
- Managesieve: Fix AM/PM suffix in vacation time selectors - Managesieve: Fix AM/PM suffix in vacation time selectors
- Managesieve: Fix bug where 'exists' operator was reset to 'contains' (#5899)
- Remove non-printable characters from filenames on download/display (#5880) - Remove non-printable characters from filenames on download/display (#5880)
- Fix decoding non-ascii attachment names from TNEF attachments (#5646, #5799) - 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 uninitialized string offset in rcube_utils::bin2ascii() and make sure rcube_utils::random_bytes() result has always requested length (#5788)

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

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

Loading…
Cancel
Save