From 1044390a828d201b7713334ddd5cba073c3fda2c Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Thu, 19 Mar 2015 11:57:42 -0400 Subject: [PATCH] fixed click event element selector for smart status --- awx/ui/static/js/smart-status/smart-status.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/smart-status/smart-status.directive.js b/awx/ui/static/js/smart-status/smart-status.directive.js index 565a522fee..9a5626471a 100644 --- a/awx/ui/static/js/smart-status/smart-status.directive.js +++ b/awx/ui/static/js/smart-status/smart-status.directive.js @@ -33,7 +33,7 @@ export default [ function() { } }); - $('aw-smart-status:eq('+scope.$index+')').bind('sparklineClick', function(ev) { + element.bind('sparklineClick', function(ev) { var sparkline = ev.sparklines[0], job = sparkline.getCurrentRegionFields(), id;