rem: if (enable) dialog.widthInput.focus(); 
context: function doDimensionEnabling(){  // Enabled only if "Custom" is checked  var enable = (dialog.customSizeRadio.checked);    if ( !dialog.customSizeRadio.checked && !dialog.actualSizeRadio.checked)    dump("BUG!  neither radio button is checked!!!! \n");  SetElementEnabledById( "widthInput", enable );  SetElementEnabledById( "widthLabel", enable);  SetElementEnabledById( "widthUnitsMenulist", enable );  SetElementEnabledById( "heightInput", enable );  SetElementEnabledById( "heightLabel", enable );  SetElementEnabledById( "heightUnitsMenulist", enable );  var constrainEnable = enable          && ( dialog.widthUnitsMenulist.selectedIndex == 0 )         && ( dialog.heightUnitsMenulist.selectedIndex == 0 );  SetElementEnabledById( "constrainCheckbox", constrainEnable );  // Counteracting another weird caret   //  (appears in Height input, but not really focused!)  if (enable)    dialog.widthInput.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aa5380476fc995c777e7136289faece5045964a3/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js