From: Benoît Pin Date: Thu, 10 Jul 2014 12:18:37 +0000 (+0200) Subject: bugfixes / mise au point. X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/fd69eaaf44e7c071f179242936c737509eb667ef?ds=sidebyside;hp=--cc bugfixes / mise au point. --- fd69eaaf44e7c071f179242936c737509eb667ef 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