rem: this.okBtn.className = "dialogBtnBarButtonEnabled"; this.okBtnLeft.className = "dialogBtnBarButtonLeftBackgroundEnabled"; this.okBtnRight.className = "dialogBtnBarButtonRightBackgroundEnabled"; Event.observe( this.okBtn, 'click', this.__neh_okay_closure , false ); 
add: if(this.okBtn.className == "dialogBtnBarButtonDisabled") { this.okBtn.className = "dialogBtnBarButtonEnabled"; this.okBtnLeft.className = "dialogBtnBarButtonLeftBackgroundEnabled"; this.okBtnRight.className = "dialogBtnBarButtonRightBackgroundEnabled"; Event.observe( this.okBtn, 'click', this.__neh_okay_closure , false ); } 
context: 	__setOKButtonState: function(enabled)	{		if(enabled)		{			this.okBtn.className = "dialogBtnBarButtonEnabled";			this.okBtnLeft.className = "dialogBtnBarButtonLeftBackgroundEnabled";			this.okBtnRight.className = "dialogBtnBarButtonRightBackgroundEnabled";			Event.observe( this.okBtn, 'click', this.__neh_okay_closure , false );		}		else		{			this.okBtn.className = "dialogBtnBarButtonDisabled";			this.okBtnLeft.className = "dialogBtnBarButtonLeftBackgroundDisabled";			this.okBtnRight.className = "dialogBtnBarButtonRightBackgroundDisabled";			Event.stopObserving( this.okBtn, 'click', this.__neh_okay_closure , false );		}	},
meta: 855	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/855/290bc17409e3c76daf57b9f1d9efe1053587ec9b/AbstractBaseDialog.js/buggy/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/ui/dialog/AbstractBaseDialog.js