show splash msg when document is saved

This commit is contained in:
Uwe Steinmann 2013-05-22 20:52:21 +02:00
parent 6979a8a054
commit a43720f378
2 changed files with 3 additions and 1 deletions

View File

@ -777,6 +777,7 @@ $text = array(
'sign_out_user' => "Sign out user",
'space_used_on_data_folder' => "Space used on data folder",
'splash_added_to_clipboard' => "Added to clipboard",
'splash_document_edited' => "Document saved",
'splash_document_locked' => "Document locked",
'splash_document_unlocked' => "Document unlocked",
'splash_folder_edited' => "Save folder changes",

View File

@ -249,8 +249,9 @@ if($sequence != "keep") {
}
}
add_log_line("?documentid=".$documentid);
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_document_edited')));
add_log_line("?documentid=".$documentid);
header("Location:../out/out.ViewDocument.php?documentid=".$documentid);
?>