projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f71c6e
)
ux/Slideshow.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Jul 2010 06:48:45 +0000
(14:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Jul 2010 06:48:45 +0000
(14:48 +0800)
ux/Slideshow.js
patch
|
blob
|
history
diff --git
a/ux/Slideshow.js
b/ux/Slideshow.js
index
681e137
..
0d0af70
100644
(file)
--- a/
ux/Slideshow.js
+++ b/
ux/Slideshow.js
@@
-174,8
+174,9
@@
Roo.apply(Roo.ux.Slideshow.prototype, {
}
var textIn = this.iImageId+1 + ' of ' + this.numOfImages;
this.counter.update( textIn );
- if ( this.caption) && ( oNewCaption = $(this.slides[this.iImageId]).down('.image-caption') ) ) {
- $(this.caption).innerHTML = oNewCaption.innerHTML;
+ var oNewCaption = this.slides[this.iImageId]).select('.image-caption', true)
+ if ( this.caption && oNewCaption.length ) {
+ this.caption.update( oNewCaption[0].innerHTML;
}
}
}