From 781f45e488958d5ec1fbe5780d3f39d79e66b55a Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 29 Apr 2015 17:55:10 -0700 Subject: [PATCH] pull the keypath for clicked value in stats javascript --- domain-server/resources/web/stats/js/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain-server/resources/web/stats/js/stats.js b/domain-server/resources/web/stats/js/stats.js index accb9e0405..b91514222d 100644 --- a/domain-server/resources/web/stats/js/stats.js +++ b/domain-server/resources/web/stats/js/stats.js @@ -34,6 +34,6 @@ $(document).ready(function(){ // handle clicks on numerical values - this lets the user show a line graph in a modal $('#stats-container').on('click', '.jh-type-number', function(){ - var key = $(this).closest('tr').children('.jh-key').html(); + var keypath = $(this).data('keypath'); }); });