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

SF.net SVN: ledger-smb:[6857] trunk/UI/lib/Loader.js



Revision: 6857
          http://sourceforge.net/p/ledger-smb/code/6857
Author:   tshvr
Date:     2014-02-13 20:02:06 +0000 (Thu, 13 Feb 2014)
Log Message:
-----------
forgotten Loader bugs 1057

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

Modified: trunk/UI/lib/Loader.js
===================================================================
--- trunk/UI/lib/Loader.js	2014-02-13 19:40:46 UTC (rev 6856)
+++ trunk/UI/lib/Loader.js	2014-02-13 20:02:06 UTC (rev 6857)
@@ -131,22 +131,24 @@
                     'AccountBox': function(input){
                                     // Since this requires db components, it
                                     // cannot be preloaded on every page.
+                                    console.log('Loader.js AccountBox input=',input);
                                     require(['lsmb/accounts/AccountSelector',
                                              'dojo/ready'],
                                     function(accountselector, ready){
                                       var value = input.value;
                                       ready(function(){
-                                          console.log(input);
+                                          console.log('Loader.js AccountBox input=',input);
                                           return new accountselector({
                                               "name": input.name,
                                              "value": value
                                           }, input);
                                       });
+                                      /**********
                                       ready(function(){
                                          var widget = registry.byId(input.id);
-                                         console.log(widget);
                                          widget.set('value', value); 
-                                      });    
+                                      });   
+                                      ****************/ 
                                     });
                                  },
                      '__default': function(input){
@@ -243,6 +245,7 @@
             for (var i = 0; i <= classes.length; i++){
                 classKey=classes[i];
                 if (undefined !== this.nodeMap[dnode.nodeName][classKey]){
+                    console.log('tshvr4 createWidget dnode.nodeName='+dnode.nodeName+' classKey='+classKey);
                     return this.nodeMap[dnode.nodeName][classKey](dnode);
                 }
             }

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


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits