Maintain scroll position when removing selected message

(imported from commit 1021eac527e677fbcac46d0a7d44dd3244bb903e)
This commit is contained in:
Leo Franchi 2014-02-25 16:45:11 -05:00 committed by Jessica McKellar
parent 4a58241b17
commit 5aef8b8fad
1 changed files with 1 additions and 2 deletions

View File

@ -405,8 +405,7 @@ MessageList.prototype = {
}); });
} }
this.view.rerender_the_whole_thing(); this.rerender();
this.select_id(this.selected_id(), {use_closest: true, empty_ok: true});
}, },
show_edit_message: function MessageList_show_edit_message(row, edit_obj) { show_edit_message: function MessageList_show_edit_message(row, edit_obj) {