Changeset 36
- Timestamp:
- 10/27/07 08:07:29 (6 years ago)
- File:
-
- 1 edited
-
trunk/javascript/klassenbuch.gallery.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/javascript/klassenbuch.gallery.js
r35 r36 451 451 } 452 452 453 this._thumbnailTable.innerHTML = this.album.pictures.eachSlice(this.options.picturesPerPage)[this.currentPage] 454 .collect(function(picture, i) { 455 return "<div class=\"thumbnailContainer\" name=\"" + picture.name + "\"><img src=\"" + picture.getThumbnailPath() + "\" />" + 456 "<div class=\"fileName\">" + picture.fileName.truncate(18) + "</div></div>"; 457 }).join(" "); 453 this._thumbnailTable.clear(); 458 454 459 455 if (this.album.pictures.length > 0) { 456 this._thumbnailTable.innerHTML = this.album.pictures.eachSlice(this.options.picturesPerPage)[this.currentPage] 457 .collect(function(picture, i) { 458 return "<div class=\"thumbnailContainer\" name=\"" + picture.name + "\"><img src=\"" + picture.getThumbnailPath() + "\" />" + 459 "<div class=\"fileName\">" + picture.fileName.truncate(18) + "</div></div>"; 460 }).join(" "); 461 460 462 this._startSlideShowButton.enable(); 461 463 }
Note: See TracChangeset
for help on using the changeset viewer.