Tags: Fix removing tags from messages list on tag delete from a mail preview window
This commit is contained in:
parent
b3e686c00a
commit
12787ff4c2
1 changed files with 3 additions and 2 deletions
|
@ -684,7 +684,8 @@ function tag_remove(props, obj, event)
|
|||
|
||||
var postdata = rcmail.selection_post_data(),
|
||||
tags = props != '*' ? [props] : $.map(rcmail.env.tags, function(tag) { return tag.uid; }),
|
||||
rc = window.parent && parent.rcmail && parent.remove_tags ? parent.rcmail : rcmail;
|
||||
win = window.parent && parent.rcmail && parent.remove_tags ? parent : window,
|
||||
rc = win.rcmail;
|
||||
|
||||
postdata._tag = props;
|
||||
postdata._act = 'remove';
|
||||
|
@ -693,7 +694,7 @@ function tag_remove(props, obj, event)
|
|||
|
||||
// remove tags from message(s) without waiting to a response
|
||||
// in case of an error the list will be refreshed
|
||||
$.each(tags, function() { tag_remove_callback(this); });
|
||||
$.each(tags, function() { win.tag_remove_callback(this); });
|
||||
}
|
||||
|
||||
// update messages list and message frame after removing tag assignments
|
||||
|
|
Loading…
Add table
Reference in a new issue