From 8a37f40c0ae611d8f0747392ea5f313473846bba Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 29 Oct 2013 15:17:09 -0700 Subject: [PATCH] Infra. chart: Fix socket info items duplicated on refresh --- ui/scripts/ui-custom/physicalResources.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/ui-custom/physicalResources.js b/ui/scripts/ui-custom/physicalResources.js index b41400abd66..fcc2f6ab5bd 100644 --- a/ui/scripts/ui-custom/physicalResources.js +++ b/ui/scripts/ui-custom/physicalResources.js @@ -40,7 +40,8 @@ }); // Socket info - var $socketInfo = $dashboard.find('.socket-info ul'); + var $socketInfo = $dashboard.find('.socket-info ul'); + $socketInfo.find('li').remove(); // Clean up $(args.data.socketInfo).each(function() { var item = this; var name = item.name;