crowbar/barclamp-crowbar — pull request #542 by dpaterson (2013-06-18 23:54:11+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 +-
.../public/javascripts/jquery.sparkline.min.js | 95 +-------------------
3 files changed, 10 insertions(+), 98 deletions(-)

Crowbar-Pull-ID: d4fe774a606ced90d39d2150198a5608b446acc0

Crowbar-Release: mesa-1.6