projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd754e
)
ux/Lightbox.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Jul 2010 05:17:08 +0000
(13:17 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Jul 2010 05:17:08 +0000
(13:17 +0800)
ux/Lightbox.js
patch
|
blob
|
history
diff --git
a/ux/Lightbox.js
b/ux/Lightbox.js
index
92a74c2
..
9e806c0
100644
(file)
--- a/
ux/Lightbox.js
+++ b/
ux/Lightbox.js
@@
-169,7
+169,9
@@
Roo.apply(Roo.ux.Lightbox.prototype,
//Roo.get('overlay').on('click', this.end, this);
Roo.get('lightbox').hide();
Roo.get('lightbox').on('click', function(event) {
- if (event.element().id == 'lightbox') this.end();
+ if (event.getTarget().id == 'lightbox') {
+ this.end();
+ }
}, this);
Roo.get('outerImageContainer').setStyle({ width: size, height: size });