projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27525c2
)
ux/Slideshow.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Jul 2010 07:08:24 +0000
(15:08 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Jul 2010 07:08:24 +0000
(15:08 +0800)
ux/Slideshow.js
patch
|
blob
|
history
diff --git
a/ux/Slideshow.js
b/ux/Slideshow.js
index
bb2de26
..
8fe3009
100644
(file)
--- a/
ux/Slideshow.js
+++ b/
ux/Slideshow.js
@@
-113,7
+113,7
@@
Roo.apply(Roo.ux.Slideshow.prototype, {
imageShow = this.iImageId+1;
imageHide = this.iImageId;
- if (imageShow
== this.numOfImages
) {
+ if (imageShow
+1 > this.slides.length
) {
this.swapImage(0,imageHide);
this.iImageId = 0;