diff options
author | zsloan | 2020-07-28 14:15:03 -0500 |
---|---|---|
committer | zsloan | 2020-07-28 14:15:03 -0500 |
commit | 06a3758eedbc6df53caab3b1ef320df781b71e83 (patch) | |
tree | 1eaf68f69bf26075113e4938304ac84e8bd4f76c | |
parent | 8e93afc7bcbb5bc12e43b0cdd2158894f633ae87 (diff) | |
download | genenetwork2-06a3758eedbc6df53caab3b1ef320df781b71e83.tar.gz |
Fixes issue where zooming in on mapping results in some browsers caused
the original tab's contents to be removed
* wqflask/wqflask/templates/mapping_results.html: minor change to add
spaces for readability
* wqflask/wqflask/marker_regression/display_mapping_results.py: Removed
"return" from chrView and rangeView since it appears to remove original
tab's contents in some browers when submitting form
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/mapping_results.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index 89f56c30..9ac4946b 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2133,7 +2133,7 @@ class DisplayMappingResults(object): #add by NL 09-03-2010 HREF = "javascript:chrView(%d,%s);" % (i,self.ChrLengthMbList) #HREF = "javascript:changeView(%d,%s);" % (i,self.ChrLengthMbList) - Areas = HT.Area(shape='rect',coords=COORDS,href=HREF) + Areas = HT.Area(shape='rect', coords=COORDS, href=HREF) gifmap.areas.append(Areas) startPosX += (self.ChrLengthDistList[i]+self.GraphInterval)*plotXScale diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 81803deb..6348ca31 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -445,7 +445,7 @@ $('input[name=chr_mb_list]').val(chr_mb_list) $('#marker_regression_form').attr('action', '/loading'); - return $('#marker_regression_form').submit(); + $('#marker_regression_form').submit(); }; rangeView = function(this_chr, start_mb, end_mb) { @@ -455,7 +455,7 @@ //$('input[name=mb_range]').val(start_mb + "," + end_mb) $('#marker_regression_form').attr('action', '/loading'); - return $('#marker_regression_form').submit(); + $('#marker_regression_form').submit(); }; remap = function() { |