[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5031] branches/1.3



Revision: 5031
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5031&view=rev
Author:   einhverfr
Date:     2012-07-24 03:08:02 +0000 (Tue, 24 Jul 2012)
Log Message:
-----------
Changing parts workflow to prevent additional errors

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/ic.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-07-24 02:29:50 UTC (rev 5030)
+++ branches/1.3/Changelog	2012-07-24 03:08:02 UTC (rev 5031)
@@ -10,6 +10,7 @@
 * Fixed shipping redirection not displaying orders (Chris T, h/t Nigel T)
 * Recon screen now groups journal entries by transaction (Chris T, h/t Nick P)
 * Fixed empty string working as empty source for cash recon (Chris T)
+* Saving a part now returns to editing the same part (Chris T, h/t Brian W)
 
 Changelog for 1.3.20
 * Fixes for es_AR translation, duplicate keys removed (Andres B)

Modified: branches/1.3/bin/ic.pl
===================================================================
--- branches/1.3/bin/ic.pl	2012-07-24 02:29:50 UTC (rev 5030)
+++ branches/1.3/bin/ic.pl	2012-07-24 03:08:02 UTC (rev 5031)
@@ -743,6 +743,7 @@
 
     print qq|
 <body>
+| . $form->open_status_div . qq|
 
 <form method=post action="$form->{script}">
 |;
@@ -954,7 +955,7 @@
 
     print qq|
 </form>
-
+| . $form->close_status_div . qq|
 </body>
 </html>
 |;
@@ -3740,9 +3741,9 @@
     }
 
     if ($rc) {
-
+        edit();
         # redirect
-        $form->redirect("Part Saved");
+        # $form->redirect("Part Saved");
     }
     else {
         $form->error;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.