r20399: More SWAT updates
[amitay/samba.git] / swat / apps / swat / source / class / swat / main / Main.js
index 85e21402154d333e8b7e231c68265c2b07d8c8a4..dc3bbc031e73969294b3f7c028bd9f8928e12e85 100644 (file)
@@ -29,6 +29,10 @@ function()
 new swat.module.Module("Statistics",
                        swat.module.statistics.Statistics);
 
+//#require(swat.module.ldbbrowse.LdbBrowse)
+new swat.module.Module("LDB Browser",
+                       swat.module.ldbbrowse.LdbBrowse);
+
 //#require(swat.module.documentation.Documentation)
 //#require(api.Viewer)
 new swat.module.Module("API Documentation",
@@ -53,10 +57,7 @@ qx.Proto.initialize = function()
   var moduleList = swat.module.Module.getList();
   for (moduleName in moduleList)
   {
-    // ... add the module's name to the module object, ...
-    moduleList[moduleName].name = moduleName;
-
-    // ... and call the module's buildInitialFsm() function
+    // ... call the module's buildInitialFsm() function
     var module = moduleList[moduleName]["class"].getInstance();
     module.buildInitialFsm(moduleList[moduleName]);
   }