rem: var selector = document.getElementById("wpLicense"); if (selector.selectedIndex > 0 && selector.options[selector.selectedIndex].value == "" ) {  selector.selectedIndex = 0; 
add: var selector = document.getElementById( "wpLicense" ); if( selector.selectedIndex > 0 ) { var selection = selector.options[selector.selectedIndex].value; if( selection == "" ) {  selector.selectedIndex = 0; } else {  if( wgAjaxLicencePreview ) { wgUploadLicenceObj.fetchPreview( selection ); } } 
context: function licenseSelectorCheck() {	var selector = document.getElementById("wpLicense");	if (selector.selectedIndex > 0 &&		selector.options[selector.selectedIndex].value == "" ) {		// Browser is broken, doesn't respect disabled attribute on <option>		selector.selectedIndex = 0;	}}
meta: 7966	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7966/1ec212b6127bbd63474c3225289060a43266f75e/upload.js/buggy/skins/common/upload.js