Fix #6464 - card header
[roojs1] / Roo / bootstrap / Modal.js
index aad6c94..152e5de 100644 (file)
@@ -16,6 +16,8 @@
  * @cfg {Boolean} animate default true
  * @cfg {Boolean} allow_close default true
  * @cfg {Boolean} fitwindow default false
+ * @cfg {Number} width fixed width - usefull for chrome extension only really.
+ * @cfg {Number} height fixed height - usefull for chrome extension only really.
  * @cfg {String} size (sm|lg) default empty
  * @cfg {Number} max_width set the max width of modal
  *
@@ -41,14 +43,7 @@ Roo.bootstrap.Modal = function(config){
          * @param {Roo.bootstrap.Modal} this
          * @param {Roo.EventObject} e
          */
-        "resize" : true,
-         /**
-         * @event close
-         * Fire when the top 'x' close button is pressed.
-         * @param {Roo.bootstrap.Modal} this
-         * @param {Roo.EventObject} e
-         */
-        "close" : true
+        "resize" : true
     });
     this.buttons = this.buttons || [];
 
@@ -173,8 +168,9 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
 
     getAutoCreate : function()
     {
+        // we will default to modal-body-overflow - might need to remove or make optional later.
         var bdy = {
-                cls : 'modal-body',
+                cls : 'modal-body enable-modal-body-overflow ', 
                 html : this.html || ''
         };