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

SF.net SVN: ledger-smb:[6796] trunk/UI/Contact/divs



Revision: 6796
          http://sourceforge.net/p/ledger-smb/code/6796
Author:   einhverfr
Date:     2014-02-07 07:45:16 +0000 (Fri, 07 Feb 2014)
Log Message:
-----------
fixing bug 1041, attach to dropdown not selected when editing contacts, and applying same fix to address div too

Modified Paths:
--------------
    trunk/UI/Contact/divs/address.html
    trunk/UI/Contact/divs/contact_info.html

Modified: trunk/UI/Contact/divs/address.html
===================================================================
--- trunk/UI/Contact/divs/address.html	2014-02-07 07:13:49 UTC (rev 6795)
+++ trunk/UI/Contact/divs/address.html	2014-02-07 07:45:16 UTC (rev 6796)
@@ -88,10 +88,15 @@
 	}; 
        ?> <div class="tabular col-1"><div>
              <?lsmb IF credit_act.id;
+                    IF is_for_credit;
+                       attach_to = 3;
+                    ELSE; 
+                       attach_to = 1;
+                    END; 
                        INCLUDE select element_data = {
                           name            = "attach_to"
                           id              = 'attach_address_to' 
-                          default_options = ['3']
+                          default_values  = [attach_to]
                           options         = attach_level_options
                           label           = text('Attach To') #'
                        };

Modified: trunk/UI/Contact/divs/contact_info.html
===================================================================
--- trunk/UI/Contact/divs/contact_info.html	2014-02-07 07:13:49 UTC (rev 6795)
+++ trunk/UI/Contact/divs/contact_info.html	2014-02-07 07:45:16 UTC (rev 6796)
@@ -67,10 +67,15 @@
         <div>
            
              <?lsmb IF credit_act.id;
+                    IF request.for_credit;
+                       attach_to = 3;
+                    ELSE;
+                       attach_to = 1;
+                    END; 
                        INCLUDE select element_data = {
                           name            = "attach_to"
-                          id              = 'attach_contact_to'
-                          default_options = ['3']
+                          id              = 'attach-contact-to'
+                          default_values  = [attach_to]
                           options         = attach_level_options
                           label           = text('Attach To') #'
                        };

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits