Bug 193855 Invoke Script does not work correctly [13]
Description: Invoke Script does not work correctly Build number: 2.2.0.v20070621-1540 Steps to reproduce: 1. New a chart, set output format PNG, set Value series interactivity as Event: Mouse Click, Action: Invoke Script, Script: alert("aaa") or alert('aaa'). 2. Preview, click the series. Expected result: For both scirpt when click, dialogue pops up with "aaa". Actual result: Only alert('aaa') works. Error log: N/A
chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/data/autobinding/AutoDataBindingViewer.java
PaintListener
{
	private IDeviceRenderer idr = null;
	private Chart cm = null;
	
	private IDataRowExpressionEvaluator dree = null;
	/**
	 * main() method for constructing the layout.
	 * 
	 * @param args
	 */
	public static void main( String[] args )
	{
		Display display = Display.getDefault( );
		Shell shell = new Shell( display );
		shell.setSize( 600, 400 );
		shell.setLayout( new GridLayout( ) );
		Canvas cCenter = new Canvas( shell, SWT.NONE );
		AutoDataBindingViewer adbv = new AutoDataBindingViewer(  );
		cCenter.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		cCenter.addPaintListener( adbv );
		shell.open( );
		while ( !shell.isDisposed( ) )
		{
			if ( !display.readAndDispatch( ) )
				display.sleep( );
		}
		display.dispose( );
	}