rem: iconSizeCheckbox.disabled = modeValue == "text"; 
add: if (modeValue == "text") { iconSizeCheckbox.disabled = true; iconSizeCheckbox.checked = false; updateIconSize(false); } else { iconSizeCheckbox.disabled = false; } 
context: function updateToolbarMode(modeValue){  var toolbar = document.getElementById("cloneToolbar");  toolbar.setAttribute("mode", modeValue);  toolbar.removeAttribute("minheight");  gToolbarChanged = true;    var iconSizeCheckbox = document.getElementById("smallicons");  iconSizeCheckbox.disabled = modeValue == "text";}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e29a166f4bdc95ddfc8bba705820c4c1f1cbe90c/customizeToolbar.js/buggy/browser/base/content/customizeToolbar.js