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

SF.net SVN: ledger-smb:[6509] branches/1.3/bin/am.pl



Revision: 6509
          http://sourceforge.net/p/ledger-smb/code/6509
Author:   einhverfr
Date:     2014-01-17 13:16:36 +0000 (Fri, 17 Jan 2014)
Log Message:
-----------
1.3 fix for warehouse/fcgi blank screens on redirect.  The 1.4 fix will be different because warehouse listings have been broken off.

Modified Paths:
--------------
    branches/1.3/bin/am.pl

Modified: branches/1.3/bin/am.pl
===================================================================
--- branches/1.3/bin/am.pl	2014-01-17 10:56:44 UTC (rev 6508)
+++ branches/1.3/bin/am.pl	2014-01-17 13:16:36 UTC (rev 6509)
@@ -2038,14 +2038,13 @@
 
     $form->isblank( "description", $locale->text('Description missing!') );
     AM->save_warehouse( \%myconfig, \%$form );
-    $form->redirect( $locale->text('Warehouse saved!') );
-
+    list_warehouse();
 }
 
 sub delete_warehouse {
 
     AM->delete_warehouse( \%myconfig, \%$form );
-    $form->redirect( $locale->text('Warehouse deleted!') );
+    list_warehouse();
 
 }
 

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits