Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'CHEF-2039'
  • Loading branch information
Nuo Yan committed Feb 10, 2011
2 parents b657ba9 + 3480990 commit 07f023f
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -59,6 +59,8 @@ function retrieveCbName(timestamp){
function addTableRow(default_cookbook, default_operator, default_version){
var cookbook_names_string = document.getElementById('cbVerPickerTable').getAttribute('data-cookbook_names');
var cookbook_names = cookbook_names_string.substring(2, cookbook_names_string.length-2).split('","');
if (cookbook_names[0] == "[]")
cookbook_names = [];
var timestamp = new Date().getTime();
var row = '<tr id=' + '"' + timestamp + '"><td>' + '<select size="1" name="cookbook_name_' + timestamp + '" ' + 'id="cookbook_name_' + timestamp + '" class="cookbook_version_constraints_cb_name" onchange="jQuerySuggest(' + timestamp + ')"'+'>'
+ buildCookbookList(cookbook_names, default_cookbook) + '</select>'
Expand Down

0 comments on commit 07f023f

Please sign in to comment.