From 02f6ce5f5417c63f3165e94ad6b3c2cf43edfc07 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 29 Dec 2010 16:00:22 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 2321af3d34..b62c43b644 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -182,8 +182,7 @@ Roo.apply(Roo.ux.Lightbox.prototype, this.overlay = this.roolightboxoverlay; this.overlay.hide(); - this.overlay.on('click', this.end, this); - + this.lightbox.hide(); this.lightbox.on('click', function(event) { if (Roo.get(event.getTarget()).hasClass('lightbox')) { -- 2.39.2