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

SF.net SVN: ledger-smb:[6046] trunk/UI/lib/elements.html



Revision: 6046
          http://sourceforge.net/p/ledger-smb/code/6046
Author:   einhverfr
Date:     2013-09-18 05:42:18 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
Changes needed to support programmatic tabular form layout under Dojo

Modified Paths:
--------------
    trunk/UI/lib/elements.html

Modified: trunk/UI/lib/elements.html
===================================================================
--- trunk/UI/lib/elements.html	2013-09-18 02:56:36 UTC (rev 6045)
+++ trunk/UI/lib/elements.html	2013-09-18 05:42:18 UTC (rev 6046)
@@ -54,9 +54,13 @@
 <?lsmb # INPUT ELEMENT ?>
 <?lsmb BLOCK input ?>
   <?lsmb IF label_pos != 1 and label_pos != -1; label_pos = -1; END ?>
-  <?lsmb IF element_data  # Only process element if one exists. ?>
+  <?lsmb IF element_data;  # Only process element if one exists.
+              IF !element_data.title.defined();
+                  element_data.title = element_data.label;
+              END; ?>
   	<?lsmb
 	    input_defaults = {}  # Some inputs have no defaults, so make sure everything is empty to start with.
+            
 	    element_type = 'input';
 	    PROCESS auto_id;
 	  ?>

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