[Web] Fix js when adding resource

[Web] Reload view and memcached when changing a resource
This commit is contained in:
andryyy
2019-03-18 10:16:33 +01:00
parent d8e356f590
commit 1fcecd0350
3 changed files with 20 additions and 23 deletions

View File

@@ -3714,7 +3714,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
}
break;
}
if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'mailbox'))) {
if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'mailbox', 'resource'))) {
update_sogo_static_view();
}
}