Fix program_id is not set on copying experiments

This commit is contained in:
Eike Foken
2011-09-28 17:33:29 +02:00
parent 616623c174
commit a8bd35f56f

View File

@@ -138,6 +138,7 @@
<script type="text/javascript"> <script type="text/javascript">
$('#program-<?=$copy['program_id'];?>').addClass('locked'); $('#program-<?=$copy['program_id'];?>').addClass('locked');
$('#<?=$copy['program_id'];?>-params').show(); $('#<?=$copy['program_id'];?>-params').show();
$('#program_id').val('<?=$copy['program_id'];?>');
</script> </script>
<?php endif; ?> <?php endif; ?>