CLOUDSTACK-1194: fix that isolation method does not show in Firefox.

zoneWizard.js puts field name and value twice where we need only
and css padding overflows in some browser rendering. The result is
that isolation method pull down menu will be pushed down and hidden
under the next box element.
This commit is contained in:
Hiroaki KAWAI 2013-05-22 17:04:12 +09:00
parent 4797e67d96
commit 8bb43effe7
1 changed files with 1 additions and 7 deletions

View File

@ -606,14 +606,8 @@
//Advanced zone supports 2 isolation method(VLAN, GRE), so show dropdown including the 2 options
if($wizard.find('.select-network-model input:radio[name=network-model]:checked').val() == 'Advanced') {
$nameField.append(
$('<div>').addClass('name').append(
$('<label>').html('Physical network name')
),
$('<div>').addClass('value').append(
$('<input>').attr({ type: 'text' }).addClass('required')
),
$('<div>').append(
$('<span style=\"font-size:11px\;padding-right:5px;padding-left:50px">').html('Isolation method'),
$('<span style=\"font-size:11px;padding-right:5px;padding-left:40px\">').html('Isolation method'),
$('<select>').append(
$('<option>').attr({
value: 'VLAN'