That should work much better

This commit is contained in:
Rick Falkvinge
2017-11-30 22:00:27 +01:00
parent 4420da6646
commit 00cb439367
@@ -51,7 +51,14 @@
$(document).ready(function() {
// we're still in document.ready
$("a.FancyBox_Gallery").fancybox({
'overlayShow': true,
'transitionIn': 'fade',
'transitionOut': 'fade',
'type': 'image',
'opacity': true
});
$('#tableOutboundInvoices').datagrid
(
@@ -59,8 +66,6 @@
onLoadSuccess: function () {
$(".LocalViewDox").click(function () {
alertify.log($(this).attr("baseid"));
$("a.FancyBox_Gallery[rel='" + $(this).attr("baseid") + "']").first().click();
});