From ce536daffa655ca00987fb383e74e4bdef843774 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 19 Jul 2012 14:31:19 -0700 Subject: [PATCH] CS-15619: Concatenate long tier names, to prevent overlap --- ui/scripts/ui-custom/vpc.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index 82d64fcf29c..3aa37510b0c 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -199,7 +199,10 @@ $tier.addClass('placeholder'); $title.html('Create Tier'); } else { - $title.html(name); + $title.html( + cloudStack.concat(name, 8) + ); + $title.attr('title', name); $cidr.html(cidr); $vmCount.append( $('').addClass('total').html(virtualMachines != null? virtualMachines.length: 0), @@ -457,7 +460,7 @@ context: context }) ).dialog({ - title: 'Configure ACL for tier: ' + $tier.find('.title').html(), + title: 'Configure ACL for tier: ' + $tier.find('.title').attr('title'), dialogClass: 'configure-acl', width: 900, height: 600,