Revision 435
- Date:
- 2014/04/22 09:56:39
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/plugins/users/comps/contenido/users/document.html
200 200 $document->sections( $owner->id, $filter > 0 ? ($filter) : ()); 201 201 } 202 202 203 if ( $m->comp_exists('/contenido/components/pre_store.msn') ) { 204 $m->comp('/contenido/components/pre_store.msn', object => $document, SETS => \%ARGS); 205 } 203 206 204 207 unless ($document->store()) { 205 208 # Ошибка, надо бы обработать... 206 209 $error="Ошибка сохранения ($keeper->{last_error})"; 207 210 } else { 208 211 212 if ( $m->comp_exists('/contenido/components/post_store.msn') ) { 213 $m->comp('/contenido/components/post_store.msn', object => $document, SETS => \%ARGS); 214 } 215 209 216 if ($ARGS{_save_and_leave}) { 210 217 $m->redirect("sections.html?id=".($filter_params{s} || $owner->id).($return_params ? '&'.$return_params : '')); 211 218 } elsif ($ARGS{_save_and_again}) {