CS-15619: Concatenate long tier names, to prevent overlap

This commit is contained in:
Brian Federle 2012-07-19 14:31:19 -07:00
parent 6224423ecc
commit ce536daffa
1 changed files with 5 additions and 2 deletions

View File

@ -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(
$('<span>').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,