Fixed focus and link on final page.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 21 May 2009 21:30:25 +0000 (21:30 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 21 May 2009 21:30:25 +0000 (21:30 +0000)
gl/gl_journal.php

index 2417488bc5ff2428666721bef6540a4859b73568..5bff91650ebf1dbb2f76297d16f3764acf54e3ec 100644 (file)
@@ -55,7 +55,8 @@ if (isset($_GET['AddedID']))
 
     display_note(get_gl_view_str($trans_type, $trans_no, _("&View this Journal Entry")));
 
-       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Journal Entry"));
+       reset_focus();
+       hyperlink_params($_SERVER['PHP_SELF'], _("Entry &New Journal Entry"), "NewJournal=Yes");
 
        display_footer_exit();
 } elseif (isset($_GET['UpdatedID']))