add: } if (!gDialog.selectedObject) { importState = false; mediaState = false; if (gDialog.selectedIndex != -1) ruleState = false; 
context: function UpdateButtons(importState, mediaState, linkState, styleState, ruleState, removeState){  if (!gDialog.expertMode) {    importState = false;    mediaState = false;    linkState = false;    styleState = false;    ruleState = true;  }  EnableUI(gDialog.atimportButton, importState);  EnableUI(gDialog.atmediaButton, mediaState);  EnableUI(gDialog.linkButton, linkState);  EnableUI(gDialog.styleButton, styleState);  EnableUI(gDialog.ruleButton, ruleState);  EnableUI(gDialog.removeButton, removeState);  EnableUI(gDialog.upButton, removeState);  EnableUI(gDialog.downButton, removeState);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f30d3ed334b276b661545ac9df74bc483ba398fa/EdCssProps.js/clean/extensions/editor/cascades/resources/content/EdCssProps.js