From 9eed52e9ebe3705dcfad691ec0eba0bb8adbd2cc Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 29 Dec 2010 15:45:45 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 4f3b64e526..50c321d59c 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -128,7 +128,7 @@ Roo.apply(Roo.ux.Lightbox.prototype, // white 250 by 250 box. var size = (this.animate ? 250 : 1) + 'px'; var dh = Roo.DomHelper; - this.lightbox = Roo.DomHelper.append(document.body, { + this.el = Roo.DomHelper.append(document.body, { html: // '
' + '
' + @@ -172,14 +172,14 @@ Roo.apply(Roo.ux.Lightbox.prototype, function(id){ var vid = id.replace(/\-/g,''); Roo.log(id); - th[vid] = th.lightbox.child('.'+id); + th[vid] = th.el.child('.'+id); if (!th[vid]) { return; } th[vid].setVisibilityMode(Roo.Element.DISPLAY); }); - + this.lightbox = this.roolightbox; //Roo.get('overlay').hide(); //Roo.get('overlay').on('click', this.end, this); -- 2.39.2