From 5cfc038871ebf0c06dbfb1d59e2e5c834fa6d878 Mon Sep 17 00:00:00 2001 From: Robin Sonefors Date: Wed, 9 Jul 2014 11:53:22 +0200 Subject: [PATCH] js: Restore fancybox hook It accidentally got deleted in 5c975b65e when the old filter box was replaced. Change-Id: I5bcbb0ce9e3ae3e3e3b24ecda265fbcb1897d370 Signed-off-by: Robin Sonefors --- application/views/reports/js/common.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/views/reports/js/common.js b/application/views/reports/js/common.js index b6f58447f..157003f1e 100644 --- a/application/views/reports/js/common.js +++ b/application/views/reports/js/common.js @@ -3,6 +3,13 @@ var sla_month_disabled_color = '#cdcdcd'; var sla_month_enabled_color = '#fafafa'; var current_obj_type = false; // keep track of what we are viewing $(document).ready(function() { + $(".fancybox").fancybox({ + 'overlayOpacity' : 0.7, + 'overlayColor' : '#ffffff', + 'hideOnContentClick' : false, + 'autoScale':true, + 'autoDimensions': true, + }); var direct_link_visible = false; $('#current_report_params').click(function() { -- 2.11.4.GIT