From fd69eaaf44e7c071f179242936c737509eb667ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 10 Jul 2014 14:18:37 +0200 Subject: [PATCH 1/1] bugfixes / mise au point. --- skins/getPhotosInfos.py | 2 +- skins/photo_lightbox_viewer.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/skins/getPhotosInfos.py b/skins/getPhotosInfos.py index c5b00a7..3a55dcc 100755 --- a/skins/getPhotosInfos.py +++ b/skins/getPhotosInfos.py @@ -29,7 +29,7 @@ contentFilter = {'portal_type' : ['Photo'], 'sort_on' : sort_on, 'sort_order' : sort_order} batch = Batch(portfolio.listCatalogedContents(contentFilter=contentFilter), - batch_size, pho_start, orphan=5, quantumleap=1, b_start_str='pho_start') + batch_size, pho_start, quantumleap=1, b_start_str='pho_start') infos = [] diff --git a/skins/photo_lightbox_viewer.js b/skins/photo_lightbox_viewer.js index a4c9a25..c030fbb 100644 --- a/skins/photo_lightbox_viewer.js +++ b/skins/photo_lightbox_viewer.js @@ -338,10 +338,14 @@ Lightbox.prototype.refreshGrid = function() { Lightbox.prototype._refreshGrid = function(req) { var doc = req.responseXML.documentElement; var i, node; + var j = 0; for (i=0 ; i