rem: if (tabControl.tabs.get(pair.key).caption == name) { 
add: if (tabControl.tabs.get(pair.key).label == name) { 
context: function valid_part_name() {  var partNameField = $('part-name-field');  var name = partNameField.value.downcase().strip();  var result = true;  if (name == '') {    alert('Part name cannot be empty.');    return false;  }  tabControl.tabs.each(function(pair){    if (tabControl.tabs.get(pair.key).caption == name) {      result = false;      alert('Part name must be unique.');      throw $break;    }  })  return result;}
meta: 7704	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7704/0434399748d7f63583819e6ddf45d321b7c1dd5e/frog.js/clean/admin/javascripts/frog.js