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

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



Revision: 6921
          http://sourceforge.net/p/ledger-smb/code/6921
Author:   einhverfr
Date:     2014-03-03 13:11:10 +0000 (Mon, 03 Mar 2014)
Log Message:
-----------
Merging 1072 fix in from trunk

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/aa.pl
    branches/1.3/bin/arap.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-03-03 13:09:21 UTC (rev 6920)
+++ branches/1.3/Changelog	2014-03-03 13:11:10 UTC (rev 6921)
@@ -9,6 +9,7 @@
 * Fixed pricelist pdf column widths all equal (Chris T, 1037)
 * Added support for zero-downtime upgrades (Chris T)
 * Fixed encoding for templates when edited through web (Chris T, 1077)
+* Fixed customer/vendor dropdown resetting on update (Chris T, 1072)
 
 Changelog for 1.3.38
 * Fixed AR/AP transactions resetting currency/exchange rate (Chris T)

Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl	2014-03-03 13:09:21 UTC (rev 6920)
+++ branches/1.3/bin/aa.pl	2014-03-03 13:11:10 UTC (rev 6921)
@@ -230,7 +230,8 @@
     $form->{"select$form->{vc}"} = "";
     if ( @{ $form->{"all_$form->{vc}"} } ) {
         $form->{ $form->{vc} } =
-          qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;
+          qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|
+          unless $form->{ $form->{vc} } =~ /--$form->{"$form->{vc}_id"}$/;
         for ( @{ $form->{"all_$form->{vc}"} } ) {
             $form->{"select$form->{vc}"} .=
               qq|<option value="$_->{name}--$_->{id}">$_->{name}\n|;

Modified: branches/1.3/bin/arap.pl
===================================================================
--- branches/1.3/bin/arap.pl	2014-03-03 13:09:21 UTC (rev 6920)
+++ branches/1.3/bin/arap.pl	2014-03-03 13:11:10 UTC (rev 6921)
@@ -315,7 +315,6 @@
         $form->{"select$vc"} .=
           qq|<option value="$_->{name}--$_->{id}">$_->{name}\n|;
     }
-
     $form->{selectprojectnumber} = "";
     if ( @{ $form->{all_project} } ) {
         $form->{selectprojectnumber} = "<option>\n";

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


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits