Mail: Fix deleting account did not update tree

This commit is contained in:
nathan 2024-10-10 11:48:22 -06:00
parent 3376ed3fc4
commit 1bdf6ca2bb

View File

@ -657,6 +657,8 @@ app.classes.mail = AppJS.extend(
var tree = this.et2 ? this.et2.getWidgetById(this.nm_index+'[foldertree]') : null; var tree = this.et2 ? this.et2.getWidgetById(this.nm_index+'[foldertree]') : null;
if (!tree) break; if (!tree) break;
var node = tree.getNode(_id); var node = tree.getNode(_id);
// Make sure ID is a string, that's what tree uses
_id = "" + _id;
switch(_type) switch(_type)
{ {
case 'delete': case 'delete':