diff --git a/share/html/Helpers/AssetUpdate b/share/html/Helpers/AssetUpdate index 42fd87c2b7..9f79e75c4b 100644 --- a/share/html/Helpers/AssetUpdate +++ b/share/html/Helpers/AssetUpdate @@ -118,7 +118,7 @@ for my $txn ( @{ $asset->{_TransactionBatch} || [] } ) { if ( ( RT::Interface::Web::RequestENV('HTTP_HX_CURRENT_URL') // '' ) =~ m{/Asset/Display.html} && $old_layout ne GetPageLayout( Object => $asset, Page => 'Display' ) ) { - push @events, 'reloadRequired'; + push @events, 'mainContainerChanged'; } my %page_menu_events = ( 'assetStatusChanged' => 1 ); diff --git a/share/html/Helpers/TicketUpdate b/share/html/Helpers/TicketUpdate index ed4e6dddc8..6c419d103f 100644 --- a/share/html/Helpers/TicketUpdate +++ b/share/html/Helpers/TicketUpdate @@ -164,7 +164,7 @@ if ( !$checks_failure ) { if ( ( RT::Interface::Web::RequestENV('HTTP_HX_CURRENT_URL') // '' ) =~ m{/Ticket/Display.html} && $old_layout ne GetPageLayout( Object => $TicketObj, Page => 'Display' ) ) { - push @events, 'reloadRequired'; + push @events, 'mainContainerChanged'; } my %page_menu_events = map { 'ticket' . $_ . 'Changed' => 1 } qw/Status Owner/,