add: constrainChecked = constrainChecked && !dialog.constrainCheckbox.disabled; 
context: function constrainProportions( srcID, destID ){  srcElement = document.getElementById ( srcID );  if ( !srcElement )    return;    forceInteger( srcID );    // now find out if we should be constraining or not  var constrainChecked = (dialog.constrainCheckbox.checked);  if ( !constrainChecked )    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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dbbb5a1342ff19f9121e78acd6e585127b24ab33/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js