From: Benoît Pin Date: Sun, 31 Aug 2014 10:40:50 +0000 (+0200) Subject: Déplacement de la sélection X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/1eeef1dbdd63d9d1f468c00a8b35f4fe11d8c72f?hp=--cc Déplacement de la sélection --- 1eeef1dbdd63d9d1f468c00a8b35f4fe11d8c72f diff --git a/skins/photo_lightbox_viewer.js b/skins/photo_lightbox_viewer.js index b67f6ab..e7907ca 100644 --- a/skins/photo_lightbox_viewer.js +++ b/skins/photo_lightbox_viewer.js @@ -451,13 +451,32 @@ else { Lightbox.prototype.disableDefaultDragging = function() {}; } +Lightbox.prototype.getSelectedSlides = function() { + var i, e, slide; + var slides = []; + for (i=0 ; i