rem: function part_added() { var partNameField = $('part-name-field'); var partIndexField = $('part-index-field'); var index = parseInt(partIndexField.value); var tab = 'tab-' + index; var caption = partNameField.value; var page = 'page-' + index; tabControl.addTab(tab, caption, page); Element.hide('add-part-popup');  partNameField.value = ''; partIndexField.value = (index + 1).toString(); $('add-part-button').disabled = false; Field.focus(partNameField); tabControl.select(tab); 
add: function part_added() { var partNameField = $('part-name-field'); var partIndexField = $('part-index-field'); var index = parseInt(partIndexField.value); var tab = 'tab-' + index; var caption = partNameField.value; var page = 'page-' + index; tabControl.addTab(tab, caption, page); Element.hide('add-part-popup'); Element.hide('busy'); partNameField.value = ''; partIndexField.value = (index + 1).toString(); $('add-part-button').disabled = false; Field.focus(partNameField); tabControl.select(tab); 
context: function part_added(){	var partNameField = $('part-name-field');	var partIndexField = $('part-index-field');	var index = parseInt(partIndexField.value);	var tab = 'tab-' + index;	var caption = partNameField.value;	var page = 'page-' + index;	tabControl.addTab(tab, caption, page);	Element.hide('add-part-popup');	//Element.hide('busy');	partNameField.value = '';	partIndexField.value = (index + 1).toString();	$('add-part-button').disabled = false;	Field.focus(partNameField);	tabControl.select(tab);}
meta: 7704	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7704/f57c98afcf9653e1e2c6eb9d33a8af5d5aa1a26c/frog.js/clean/admin/javascripts/frog.js