rem: checkbox         = document.getElementById( "constrainCheckbox" ); 
add: checkbox                              = document.getElementById( "constrainCheckbox" ); 
context: function constrainProportions( srcID, destID ){  srcElement         = document.getElementById ( srcID );  if ( !srcElement )    return;    forceInteger( srcID );    // now find out if we should be constraining or not  checkbox         = document.getElementById( "constrainCheckbox" );  if ( !checkbox)    return;  if ( !checkbox.checked )    return;    destElement         = document.getElementById( destID );  if ( !destElement )    return;    // set new value in the other edit field  // src / dest ratio mantained  // newDest = (newSrc * oldDest / oldSrc)  if ( oldSourceInt == 0 )    destElement.value       = srcElement.value;  else    destElement.value       = Math.round( srcElement.value * destElement.value / oldSourceInt );    oldSourceInt         = srcElement.value;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5cb4feb3566948d7f7bf11b5396ee0a0efba2ad2/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js