From: zuber Date: Mon, 17 Aug 2009 20:58:14 +0000 (+0200) Subject: Poprawienie wywołania do lazyload. Obrazki z galerii skanów ponownie ładowane są... X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/57d1397f78113cec462ac3316d8cd01b29a6d5c3?hp=008decfb2838b94486c36dcf35a2239bf7f1076e Poprawienie wywołania do lazyload. Obrazki z galerii skanów ponownie ładowane są leniwie, na żądanie. --- diff --git a/project/templates/explorer/file_html.html b/project/templates/explorer/file_html.html index 23a13679..ab8e40b4 100644 --- a/project/templates/explorer/file_html.html +++ b/project/templates/explorer/file_html.html @@ -18,7 +18,7 @@ $(window).resize(resizePanels) resizePanels(); - $('#images').lazyload('.image-box', {threshold: 600}); + $('#images-wrap').lazyload('.image-box', {threshold: 600}); }); {% endblock extrahead %} diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 4efd6975..18866d2b 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -59,7 +59,7 @@ addEditorButton('utwór', function(text) { return '' + text + ''; }); addEditorButton('akap', function(text) { return '' + text + ''; }); - $('#images').lazyload('.image-box', {threshold: 600}); + $('#images-wrap').lazyload('.image-box', {threshold: 600}); }); @@ -68,14 +68,15 @@ {% block breadcrumbs %}Platforma Redakcyjna ❯ plik {{ hash }}{% endblock breadcrumbs %} {% block maincontent %} -
ŹródłoHTML
{{ image_folders_form.folders }}
 
+
ŹródłoHTML