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

SF.net SVN: ledger-smb:[5424] trunk/bin



Revision: 5424
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5424&view=rev
Author:   einhverfr
Date:     2012-12-27 08:05:49 +0000 (Thu, 27 Dec 2012)
Log Message:
-----------
Persisting language code selection when email button is hit

Modified Paths:
--------------
    trunk/bin/io.pl
    trunk/bin/oe.pl

Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl	2012-12-27 06:42:16 UTC (rev 5423)
+++ trunk/bin/io.pl	2012-12-27 08:05:49 UTC (rev 5424)
@@ -1257,6 +1257,7 @@
     if ( $form->{formname} =~ /(pick|packing|bin)_list/ ) {
         $form->{email} = $form->{shiptoemail} if $form->{shiptoemail};
     }
+    $form->{oldlanguage_code} = $form->{language_code};
 
     $form->{oldmedia} = $form->{media};
     $form->{media}    = "email";

Modified: trunk/bin/oe.pl
===================================================================
--- trunk/bin/oe.pl	2012-12-27 06:42:16 UTC (rev 5423)
+++ trunk/bin/oe.pl	2012-12-27 08:05:49 UTC (rev 5424)
@@ -769,6 +769,7 @@
     print_select($form, $printops->{formname});
     print_select($form, $printops->{format});
     print_select($form, $printops->{media});
+    print_select($form, $printops->{lang});
     print qq|
     </td>
   </tr>

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