rem: if (currentPanel != validatePanel) {  gDialog.TabPanels.selectedIndex = validatePanel; if (validatePanel == CellPanel) {  gDialog.CellTab.selected = "true"; gDialog.TableTab.selected = null; } else { gDialog.TableTab.selected = "true"; gDialog.CellTab.selected = null; } currentPanel = validatePanel; } 
add: if (gDialog.TabBox.selectedTab != gValidateTab) gDialog.TabBox.selectedTab = gValidateTab; 
context: function SwitchToValidatePanel(){  if (currentPanel != validatePanel)  {    //Set index for starting panel on the <tabpanels> element    gDialog.TabPanels.selectedIndex = validatePanel; //setAttribute("selectedIndex", validatePanel);    if (validatePanel == CellPanel)    {      // Trigger setting of style for the tab widgets      gDialog.CellTab.selected = "true";      gDialog.TableTab.selected = null;    } else {      gDialog.TableTab.selected = "true";      gDialog.CellTab.selected = null;    }    currentPanel = validatePanel;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eee10d28c4e4572a9b5467263a2cd7f3eeb50897/EdTableProps.js/buggy/editor/ui/dialogs/content/EdTableProps.js