context: function ToggleConstrain(){  // If just turned on, save the current width and height as basis for constrain ratio  // Thus clicking on/off lets user say "Use these values as aspect ration"  if (dialog.constrainCheckbox.checked && !dialog.constrainCheckbox.disabled     && (dialog.widthUnitsMenulist.selectedIndex == 0)     && (dialog.heightUnitsMenulist.selectedIndex == 0))  {    constrainWidth = Number(dialog.widthInput.value.trimString());    constrainHeight = Number(dialog.heightInput.value.trimString());  }// the following line is *really* annoying!//  document.getElementById('widthInput').focus()}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c2fa3c49b1c16b046947244c53e8da3ed6bef89f/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js