From df616c45c801c3e4536273d56467e26dff68dd79 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 3 Nov 2020 16:22:48 +0800 Subject: [PATCH] Roo/bootstrap/CardHeader.js --- Roo/bootstrap/CardHeader.js | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Roo/bootstrap/CardHeader.js b/Roo/bootstrap/CardHeader.js index 873d850de5..6c8a116663 100644 --- a/Roo/bootstrap/CardHeader.js +++ b/Roo/bootstrap/CardHeader.js @@ -14,22 +14,11 @@ * @param {Object} config The config object */ -Roo.bootstrap.Element = function(config){ - Roo.bootstrap.Element.superclass.constructor.call(this, config); - - this.addEvents({ - // raw events - /** - * @event click - * When a element is chick - * @param {Roo.bootstrap.Element} this - * @param {Roo.EventObject} e - */ - "click" : true - }); +Roo.bootstrap.CardHeader = function(config){ + Roo.bootstrap.CardHeader.superclass.constructor.call(this, config); }; -Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component, { +Roo.extend(Roo.bootstrap.CardHeader, Roo.bootstrap.Element, { tag: 'div', container_method : 'getCardHeader', -- 2.39.2