sync
[roojs1] / Roo / Component.js
index 1b458f3..9ec70ca 100644 (file)
@@ -28,8 +28,7 @@ Roo.Component = function(config){
         config = {el: config, id: config.id || config};
     }
     this.initialConfig = config;
-    Roo.log('config');
-    Roo.log(config);
+
     Roo.apply(this, config);
     this.addEvents({
         /**
@@ -94,7 +93,7 @@ Roo.Component = function(config){
         destroy : true
     });
     if(!this.id){
-        this.id = "ext-comp-" + (++Roo.Component.AUTO_ID);
+        this.id = "roo-comp-" + (++Roo.Component.AUTO_ID);
     }
     Roo.ComponentMgr.register(this);
     Roo.Component.superclass.constructor.call(this);
@@ -134,7 +133,7 @@ Roo.extend(Roo.Component, Roo.util.Observable, {
         * Whether the component can move the Dom node when rendering (defaults to true).
         */
     allowDomMove : true,
-    /** @cfg {String} hideMode
+    /** @cfg {String} hideMode (display|visibility)
      * How this component should hidden. Supported values are
      * "visibility" (css visibility), "offsets" (negative offset position) and
      * "display" (css display) - defaults to "display".