Fancybox fix 218

This commit is contained in:
Rick Falkvinge
2018-02-21 19:33:16 +01:00
parent b4c2e7d6f8
commit 0f30b9ad15
2 changed files with 3 additions and 1 deletions
@@ -525,7 +525,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
"<img src='/Images/Icons/iconshock-wrench-128x96px-centered.png' height='18' width='24' class='LocalIconEdit' guid='{0}' />";
string docString =
"<a href='/Pages/v5/Support/StreamUpload.aspx?DocId={0}&hq=1' title=\"{1}\" class='FancyBox_Gallery' data-fancybox='{2}'>";
"<a href='/Pages/v5/Support/StreamUpload.aspx?DocId={0}&hq=1' data-caption=\"{1}\" class='FancyBox_Gallery' data-fancybox='{2}'>";
string documentsAll = String.Empty;
+2
View File
@@ -465,6 +465,8 @@ var SwarmopsJS = (function () {
beforeShow: function (instance, current) {
$('.zoomContainer').remove();
this.title = $(this.element).data("caption");
if (instance.group.length > 1) {
if (instance.currIndex > 0) {
$('a.fancybox-arrow-previous').show();