Admin: Clicking 'Save' for custom translations forces a browser reload so translations are immediately available to the user

This commit is contained in:
nathan 2023-06-09 13:52:14 -06:00
parent 10ae9a0234
commit 0f9f7a5e15

View File

@ -64,6 +64,9 @@ class admin_customtranslation
}
if ($saved) $msg = lang('%1 phrases saved.', $saved);
if ($action == 'apply') break;
$push = new Api\Json\Push();
$push->call('location.reload');
// fall through
case 'cancel':
Egw::redirect_link('/admin/index.php');