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.engine/src/org/eclipse/birt/chart/integrate/SimpleDataRowExpressionEvaluator.java
* 
	 * @see org.eclipse.birt.chart.factory.IDataRowExpressionEvaluator#evaluate(java.lang.String)
	 */
	public Object evaluate( String expression )
	{
		Object[] data = (Object[]) map.get( expression );
		if ( data == null )
		{
			return expression;
		}
		columnData = data;
		return columnData[index];
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.chart.factory.IDataRowExpressionEvaluator#first()
	 */
	public boolean first( )
	{
		index = 0;
		if ( map.size( ) > 0 )
		{
			columnData = (Object[]) map.values( ).iterator( ).next( );
			if ( columnData != null && index < columnData.length )
			{
				return true;
			}
		}
		return false;