• document.html

    435 436  
    207 207 }
    208 208
    209 209
    210 if ( $m->comp_exists('/contenido/components/pre_store.msn') ) {
    211 $m->comp('/contenido/components/pre_store.msn', object => $document, SETS => \%ARGS);
    212 }
    213
    210 214 unless ($document->store()) {
    211 215 # Ошибка, надо бы обработать...
    212 216 $error="Ошибка сохранения ($keeper->{last_error})";
    213 217 } else {
    218 if ( $m->comp_exists('/contenido/components/post_store.msn') ) {
    219 $m->comp('/contenido/components/post_store.msn', object => $document, SETS => \%ARGS);
    220 }
    214 221
    215 222 if ($ARGS{_save_and_leave}) {
    216 223 $m->redirect("sections.html?id=".($filter_params{s} || $owner->id).($return_params ? '&'.$return_params : ''));