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.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
IIOWriteWarningListener,
		IImageMapEmitter
{
	protected Image _img = null;
	protected Object _oOutputIdentifier = null;
	private Bounds _bo = null;
	private transient boolean _bImageExternallySpecified = false;
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.device.extension/image" ); 
	private final static String NO_OP_JAVASCRIPT = "javascript:void(0);"; 
	private final static String POLY_SHAPE = "poly"; 
	
	
	private final String SCRIPT_CLICK = "userCallBackByClick" 
			+ System.currentTimeMillis( );
	private final String SCRIPT_DBLCLICK = "userCallBackByDblClick" 
			+ System.currentTimeMillis( );
	private boolean bAddCallbackByClick = false;
	private boolean bAddCallbackByDBLClick = false;
	
	/**
	 * Returns the output format string for this writer.
	 * 
	 * @return
	 */
	protected abstract String getFormat( );
	/**
	 * Returns the output image type for this writer.
	 * 
	 * @see java.awt.image.BufferedImage#TYPE_INT_RGB