crowbar/barclamp-crowbar — pull request #730 by dpaterson (2013-10-10 23:23:08+00:00)
Title: Fixes - DE1167 - UI group status not updated correctly. [1/1]

DE1167 - UI group status not updated correctly. Upgraded Sparkline charting jquery plugin, was quite a bit behind. Fixed issue where the group string was parameterized when rendering the group id in the html but when rendering the javascript that updates the chart the group id was not 'parameterized' and thus the ids would sometimes not match. This was breaking the update function, specifically the jQuery selector used to find the group div and update the pie chart. Added a new group property that holds the parameterized group name and we use the same value in both html rendering and javascript.

.../app/controllers/nodes_controller.rb | 7 +-
crowbar_framework/app/views/nodes/index.html.haml | 6 +-
crowbar_framework/config/locales/en.yml | 3 +-
.../public/javascripts/jquery.sparkline.min.js | 95 +-------------------
4 files changed, 12 insertions(+), 99 deletions(-)

Crowbar-Pull-ID: cdd0fa0b0413b819216d0ad8a611adbd7cb8e63c

Crowbar-Release: roxy