* code for task #77135.

This commit is contained in:
王怡栋
2022-11-22 13:39:28 +08:00
parent f29f4aede8
commit bac4eeab8b
5 changed files with 8 additions and 5 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ function loadBuilds()
{
var productID = $('#product').val();
var branch = $('#branch').length == 0 ? 0 : $('#branch').val();
$('#buildBox').load(createLink('projectrelease', 'ajaxLoadBuilds', "projectID=" + projectID + "&productID=" + productID + "&branch=" + branch), function(){$('#build').chosen();});
$('#buildBox').load(createLink('projectrelease', 'ajaxLoadBuilds', "projectID=" + projectID + "&productID=" + productID + "&branch=" + branch), function()
{
$('#build').attr('data-placeholder', multipleSelect).chosen();
});
}
/**
+1 -1
View File
@@ -51,7 +51,7 @@
<?php endif;?>
<tr>
<th><?php echo $lang->release->build;?></th>
<td id='buildBox'><?php echo html::select('build[]', $builds, '', "class='form-control chosen' multiple");?></td>
<td id='buildBox'><?php echo html::select('build[]', $builds, '', "class='form-control chosen' multiple data-placeholder='{$lang->build->placeholder->multipleSelect}'");?></td>
<td></td>
</tr>
<tr>
+1 -1
View File
@@ -37,7 +37,7 @@
</tr>
<tr>
<th><?php echo $lang->release->build;?></th>
<td><?php echo html::select('build[]', $builds, $release->build, "class='form-control chosen' multiple"); ?></td><td></td>
<td><?php echo html::select('build[]', $builds, $release->build, "class='form-control chosen' multiple data-placeholder='{$lang->build->placeholder->multipleSelect}'"); ?></td><td></td>
</tr>
<tr>
<th><?php echo $lang->release->date;?></th>