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

SF.net SVN: ledger-smb:[6053] trunk/UI/lib/setup.js



Revision: 6053
          http://sourceforge.net/p/ledger-smb/code/6053
Author:   einhverfr
Date:     2013-09-18 15:31:07 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
Fixes for account selector and text areas

Modified Paths:
--------------
    trunk/UI/lib/setup.js

Modified: trunk/UI/lib/setup.js
===================================================================
--- trunk/UI/lib/setup.js	2013-09-18 14:52:08 UTC (rev 6052)
+++ trunk/UI/lib/setup.js	2013-09-18 15:31:07 UTC (rev 6053)
@@ -45,7 +45,9 @@
              } else if (cls.contains(input, 'AccountBox')){
                 return require(['lsmb/accounts/AccountSelector'],
                             function(accountselector){
-                                return new accountselector({}, input);
+                                return new accountselector({
+                                    "name": input.name
+                                }, input);
                             }
                 );
              } else {
@@ -98,6 +100,13 @@
             }, input
          );
      
+     } else if (input.nodeName == 'TEXTAREA'){
+        return require(['dijit/form/Textarea'],
+                function(textarea){
+                    return new textarea(
+                      { "name": input.name,
+                       "value": input.innerHTML,
+                       "label": input.title }, input)});
      }
      return undefined; 
 }

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