Fancybox fix 218
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user