Skip to content

Commit

Permalink
Merge pull request #2663 from doug-salvati/ds2621
Browse files Browse the repository at this point in the history
Export buttons shouldn't show up on non-highcharts
  • Loading branch information
doug-salvati authored Jun 27, 2017
2 parents 0ba5cd0 + 0b3c714 commit 08069bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
Print Visualization
</button>

<div id="export-controls">
<h4 class="vis-ctrl-subtitle">Export</h4>

<div class="btn-group btn-group-justified">
Expand All @@ -34,4 +35,5 @@
</button>
</div>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ $ ->
# TODO - implement these for non-Highchart vises
unless @chart?
$('#print-vis-btn').hide()
$('#download-vis-btn').hide()
$('#export-controls').hide()

globals.userPermissions()

Expand Down

0 comments on commit 08069bc

Please sign in to comment.