diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 26d03ead5..05775aa25 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,5 +1,6 @@ 7.7.4 - fixed: Spam in the wiki (#10050) + - fixed: Apply button applies but reloads old content in editor (#9827) - fixed: maintenance tasks in parallel (#9921) - fixed: Schedular Fields Too Short (#9889) - fixed: Can't invite friends (#10112) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 0c18fd371..af5bcae72 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -2682,12 +2682,7 @@ sub www_editSave { # Handle "saveAndReturn" button if ( $self->session->form->process( "saveAndReturn" ) ne "" ) { - if ($isNewAsset) { - return $object->www_edit; - } - else { - return $self->www_edit; - } + return $object->www_edit; } # Handle "proceed" form parameter