rem: SetElementEnabledByID("MoreFewerButton", canEnableAll ); SetElementEnabledByID("AdvancedButton", canEnableAll ); 
add: SetClassEnabledByID("MoreFewerButton", canEnableAll ); SetElementEnabledByID("AdvancedEdit", canEnableAll ); 
context: function doOverallEnabling(){  var imageTypeExtension                = checkForImage();  var canEnableAll;  canEnableAll                          = imageTypeExtension;  if ( wasEnableAll == canEnableAll )    return;    wasEnableAll                          = canEnableAll;  btn                                   = document.getElementById("ok");  if ( btn )  {    dump("ok button found!\n")    btn.disabled                        = (!canEnableAll && hasAnyChanged);  }  else dump("ok button not found\n");    fieldset                              = document.getElementById("imagedimensionsFieldset");  if ( fieldset )  {    SetElementEnabledByID("imagedimensionsFieldset", canEnableAll );    doDimensionEnabling( canEnableAll );  }    // handle altText and MoreFewer button  SetClassEnabledByID( "image.altTextLabel", canEnableAll );  SetElementEnabledByID("image.altTextInput", canEnableAll );  SetElementEnabledByID("MoreFewerButton", canEnableAll );  SetElementEnabledByID("AdvancedButton", canEnableAll );  // alignment  SetClassEnabledByID( "imagealignmentLabel", canEnableAll );  SetElementEnabledByID("image.alignType", canEnableAll );/* this shouldn't be needed here; doDimensionEnabling should do this */  customradio                           = document.getElementById( "customsizeRadio" );  if(customradio.checked){  SetElementEnabledByID("heightunitSelect", canEnableAll );  SetElementEnabledByID("widthunitSelect", canEnableAll );                        }    // spacing fieldset  SetElementEnabledByID("spacing.fieldset", canEnableAll );  SetElementEnabledByID("imageleftrightInput", canEnableAll );  SetElementEnabledByID("imagetopbottomInput", canEnableAll );  SetElementEnabledByID("imageborderInput", canEnableAll );    // do spacing labels  SetClassEnabledByID( "leftrightLabel", canEnableAll );  SetClassEnabledByID( "leftrighttypeLabel", canEnableAll );  SetClassEnabledByID( "topbottomLabel", canEnableAll );  SetClassEnabledByID( "topbottomtypeLabel", canEnableAll );  SetClassEnabledByID( "borderLabel", canEnableAll );  SetClassEnabledByID( "bordertypeLabel", canEnableAll );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/585e215dd485ea79e60ef0dcf7101a7d6b057225/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js