Index: branches/5.2.x/core/units/content/content_eh.php =================================================================== diff -u -N -r15145 -r15258 --- branches/5.2.x/core/units/content/content_eh.php (.../content_eh.php) (revision 15145) +++ branches/5.2.x/core/units/content/content_eh.php (.../content_eh.php) (revision 15258) @@ -1,6 +1,6 @@ UseTempTables($event) ) { + parent::OnPreSaveAndChangeLanguage($event); + + return; + } + + // CUSTOM: begin + $event->CallSubEvent('OnSaveContentBlock'); + $event->SetRedirectParam('opener', 's'); + // CUSTOM: end + + if ( $event->status == kEvent::erSUCCESS ) { + $this->Application->SetVar('m_lang', $this->Application->GetVar('language')); + + $data = $this->Application->GetVar('st_id'); + + if ( $data ) { + $event->SetRedirectParam('st_id', $data); + } + } + } + /** * Performs auto-save of current content block (will create draft too) * * @param kEvent $event