rem: var disableCustomUI = !playSound; var finishedSoundUrl = document.getElementById("finishedSoundUrl");  finishedSoundUrl.disabled = disableCustomUI; document.getElementById("preview").disabled = disableCustomUI || (finishedSoundUrl.value == ""); document.getElementById("browse").disabled = disableCustomUI; 
add: gFinishedSound.disabled = disableCustomUI || gFinishedSoundLocked; document.getElementById("preview").disabled = disableCustomUI; document.getElementById("browse").disabled = disableCustomUI || gFinishedSoundLocked; 
context: function PlaySoundCheck(){  var playSound = document.getElementById("finishedNotificationSound").checked;  var disableCustomUI = !playSound;  var finishedSoundUrl = document.getElementById("finishedSoundUrl");  finishedSoundUrl.disabled = disableCustomUI;  document.getElementById("preview").disabled = disableCustomUI || (finishedSoundUrl.value == "");  document.getElementById("browse").disabled = disableCustomUI;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c8ccded27b2754a86d9bbb5740b0c4328b388363/pref-download.js/clean/suite/common/pref/pref-download.js