From 20d32cad15428a0a8d893a8e248d925b004df2c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 9 Oct 2014 18:18:41 +0200 Subject: [PATCH 1/1] =?utf8?q?Effacement=20de=20la=20s=C3=A9lection=20quan?= =?utf8?q?d=20le=20d=C3=A9placement=20est=20effectif=20(valid=C3=A9=20par?= =?utf8?q?=20le=20serveur).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/photo_lightbox_viewer.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/skins/photo_lightbox_viewer.js b/skins/photo_lightbox_viewer.js index 3c69aec..97c7f79 100644 --- a/skins/photo_lightbox_viewer.js +++ b/skins/photo_lightbox_viewer.js @@ -542,15 +542,18 @@ Lightbox.prototype.moveSelectedPhotos = function() { }; Lightbox.prototype._moveSelectedPhotos = function(req) { - var i, slide; + var i, slide, cb; if (req.status === 200) { var doc = req.responseXML.documentElement; if (doc.nodeName === 'ok') { - this.pendingMovedSlides = undefined; for(i=0 ; i