| | |
| | | this.set_busy(true); |
| | | |
| | | switch (action) { |
| | | |
| | | // Delete filter row |
| | | case 'del': |
| | | var id = o.id, list = this.filters_list; |
| | |
| | | $(this).unbind(); |
| | | |
| | | // update row id |
| | | if (rowid > id) |
| | | $(this).attr('id', 'rcmrow' + (rowid-1)); |
| | | if (rowid > id) { |
| | | this.uid = rowid - 1; |
| | | $(this).attr('id', 'rcmrow' + this.uid); |
| | | } |
| | | }); |
| | | list.init(); |
| | | |
| | |
| | | |
| | | if (field.attr('disabled')) |
| | | area.hide(); |
| | | // disable the original field anyway, we don't want it in POST |
| | | else |
| | | field.prop('disabled', true); |
| | | |
| | | field.after(area); |
| | | |
| | |
| | | |
| | | rcube_webmail.prototype.managesieve_create = function(force) |
| | | { |
| | | if (!force && this.env.action != 'show' && !$('#'+this.env.contentframe).is(':visible')) { |
| | | if (!force && this.env.action != 'show') { |
| | | var uid = this.message_list.get_single_selection(), |
| | | lock = this.set_busy(true, 'loading'); |
| | | |