4 $stock_uniquename => undef
8 <div style="overflow:scroll">
9 <table class="table table-hover table-bordered" id="vector_related_stocks_table">
12 <th>Accession (Transformant)</th>
13 <th>Vector Construct</th>
14 <th>Plant Material</th>
15 <th>Transformation ID</th>
21 <div class="panel panel-default">
22 <div class="panel-body">
23 <&| /page/info_section.mas, title => 'Copy Accessions to a List', collapsible=>1, collapsed=>0, subtitle=>'<i>Copy the accession (transformant) names showing in table to a new or exisiting list</i>'&>
25 <div id="transformant_names" style="display:none"></div>
26 <div id="transformants_to_list_menu"></div>
33 jQuery(document).ready(function(){
35 var related_stocks_table = jQuery('#vector_related_stocks_table').DataTable({
38 'ajax':'/stock/'+ <% $stock_id %> + '/datatables/vector_related_stocks',
39 "fnInitComplete": function(oSettings, json) {
42 jQuery('#transformants_to_list_menu').html("<div class='well well-sm'><h3>Please login to use lists!</h3></div>");
45 for(var i=0; i<json.data.length; i++){
46 html += json.data[i][4]+"\n";
48 jQuery("#transformant_names").html(html);
49 addToListMenu("transformants_to_list_menu", "transformant_names", {