From 10b34be86257d8b29643094862b9164d0b02fea6 Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 21 Mar 2014 13:10:15 +0800 Subject: [PATCH] Roo/bootstrap/Img.js --- Roo/bootstrap/Img.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Roo/bootstrap/Img.js b/Roo/bootstrap/Img.js index c9da80342a..2087165d81 100644 --- a/Roo/bootstrap/Img.js +++ b/Roo/bootstrap/Img.js @@ -61,6 +61,15 @@ Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, { } return cfg; + }, + + initEvents: function() { + this.el.on('click', this.onClick, this); + + }, + onClick : function(e) + { + this.fireEvent('click', this, e); } }); -- 2.39.2