add:  if ( !dialog.customsizeRadio.checked && !dialog.originalsizeRadio.checked) dump("BUG!  neither radio button is checked!!!! \n"); 
context: function doDimensionEnabling( doEnable ){  // Enabled only if "Custom" is checked  var enable = (doEnable && dialog.customsizeRadio.checked);  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 );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/86008c59a717aa343fbfbacbd8bcf0b3c4f1def8/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js