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

SF.net SVN: ledger-smb:[6045] trunk/LedgerSMB/Scripts/contact.pm



Revision: 6045
          http://sourceforge.net/p/ledger-smb/code/6045
Author:   einhverfr
Date:     2013-09-18 02:56:36 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
fixing div selection on viewing customer or vendor

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/contact.pm

Modified: trunk/LedgerSMB/Scripts/contact.pm
===================================================================
--- trunk/LedgerSMB/Scripts/contact.pm	2013-09-18 02:20:18 UTC (rev 6044)
+++ trunk/LedgerSMB/Scripts/contact.pm	2013-09-18 02:56:36 UTC (rev 6045)
@@ -124,7 +124,9 @@
     } else {
        @DIVS = qw(company person);
     }
-    $request->{target_div} ||= 'company';
+    $request->{target_div} ||= 'company_div' if defined $company;
+    $request->{target_div} ||= 'person_div' if defined $person;
+    $request->{target_div} ||= 'company_div';
 
     my @all_years =  LedgerSMB->call_procedure(
               procname => 'date_get_all_years'

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


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits