Skip to content

Commit

Permalink
Fixing displaying of beacon information in results table. (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed Nov 22, 2021
1 parent 5f9e782 commit 6a97c82
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HISTORY.rst
Expand Up @@ -10,6 +10,7 @@ End-User Summary
================

- Fixing Kiosk mode of VarFish.
- Fixing displaying of beacon information in results table.

Full Change List
================
Expand All @@ -19,6 +20,7 @@ Full Change List
- Using custom middleware for kiosk user (#215).
- Kiosk annotation now uses ``set -x`` flag if ``settings.DEBUG`` is true.
- Mapping kiosk jobs to import queue.
- Fixing displaying of beacon information in results table.

-------
v0.23.9
Expand Down
3 changes: 3 additions & 0 deletions config/settings/base.py
Expand Up @@ -610,6 +610,9 @@
# Logging
# ------------------------------------------------------------------------------

# Custom logging level
LOGGING_LEVEL = env.str("LOGGING_LEVEL", "DEBUG" if DEBUG else "ERROR")

LOGGING_APPS = env.list(
"LOGGING_APPS",
default=[
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Expand Up @@ -82,7 +82,7 @@ xlsxwriter >=1.4.3, <1.5

# Writing of VCF files
vcfpy >=0.13.3, <0.14
pysam >=0.16.0.1, <0.17
pysam >=0.18, <0.19

# SQL Alchemy and Django integrate
# TODO: upgrade?
Expand Down
4 changes: 4 additions & 0 deletions varfish/static/js/filter_form.js
Expand Up @@ -256,6 +256,10 @@ function loadVariantDetails(row, cell, show=false) {
}
$('[data-toggle="tooltip"]').tooltip({container: "body"});
$('[data-toggle="popover"]').popover({container: "body"});
var whitelist = $.fn.tooltip.Constructor.Default.whiteList
whitelist.iframe = ['src', 'style', 'width', 'height', 'frameborder', 'vspace', 'hspace']
// Alternative: skip sanitize function entirely
//$('[data-toggle="popover"]').popover({sanitizeFn: function(content) { return content }})
$('body').on('click', function (e) {
let element = $('.omim-popover');
// hide any open popovers when the anywhere else in the body is clicked
Expand Down
4 changes: 4 additions & 0 deletions varfish/static/js/state_machine.js
Expand Up @@ -109,6 +109,10 @@ function updateTableDisplay() {
);
$('[data-toggle="tooltip"]').tooltip({boundary: 'window', container: 'body'});
$('[data-toggle="popover"]').popover({boundary: 'window', container: 'body'});
var whitelist = $.fn.tooltip.Constructor.Default.whiteList
whitelist.iframe = ['src', 'style', 'width', 'height', 'frameborder', 'vspace', 'hspace']
// Alternative: skip sanitize function entirely
//$('[data-toggle="popover"]').popover({sanitizeFn: function(content) { return content }})
}

function displayConnectionError() {
Expand Down

0 comments on commit 6a97c82

Please sign in to comment.