Fix issue in displaying filter form when managesieve_kolab_master=true
and sieve variables extension is supported by the server (#1489599)
| | |
| | | - Add Filters tab/section using plugin API hook |
| | | - Fix issue where folder selector wasn't visible on new filter form |
| | | - Fix issue where multi-select fields were not visible in new filter action rows (#1489600) |
| | | - Fix issue in displaying filter form when managesieve_kolab_master=true |
| | | and sieve variables extension is supported by the server (#1489599) |
| | | |
| | | * version 7.1 [2013-11-22] |
| | | ----------------------------------------------------------- |
| | |
| | | if ($rule[0]['type'] == 'set') { |
| | | unset($rule[0]['type']); |
| | | $this->vars[] = $rule[0]; |
| | | unset($rule); |
| | | } |
| | | else { |
| | | $rule = array('actions' => $rule); |
| | |
| | | |
| | | // Delete filter row |
| | | case 'del': |
| | | var i = 0, list = this.filters_list; |
| | | var id = o.id, list = this.filters_list; |
| | | |
| | | list.remove_row(this.managesieve_rowid(o.id)); |
| | | list.clear_selection(); |
| | |
| | | return; |
| | | } |
| | | |
| | | // modify ID and remove all attached events |
| | | $(this).attr('id', 'rcmrow'+(i++)).unbind(); |
| | | var rowid = this.id.substr(6); |
| | | |
| | | // remove all attached events |
| | | $(this).unbind(); |
| | | |
| | | // update row id |
| | | if (rowid > id) |
| | | $(this).attr('id', 'rcmrow' + (rowid-1)); |
| | | }); |
| | | list.init(); |
| | | |