Bug 130091 [regression]Save button failed after edit script in data item.
Description: Save button failed after edit script in data item. Steps to reproduce: 1. New a report 2. Insert a data item and input "data". 3. Select data item and transfer to script pane, input some words. 4. Transfer back to Layout and save the report. Expected result: Save action works. Actual result: Save action failed.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportScriptFormPage.java
{
		super.init( site, input );
		try
		{
			jsEditor = new JSEditor( this );
			jsEditor.init( site, input );
		}
		catch ( Exception e )
		{
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.birt.report.designer.ui.editors.IReportEditorPage#onBroughtToTop(org.eclipse.birt.report.designer.ui.editors.IReportEditorPage)
	 */
	public boolean onBroughtToTop( IReportEditorPage prePage )
	{
		
		if ( getEditorInput( ) != prePage.getEditorInput( ) )
		{
			setInput( prePage.getEditorInput( ) );
		}
		previouPage = prePage;
		if ( prePage != null && jsEditor != null )
		{
			jsEditor.setIsModified( prePage.isDirty( ) );
		}
		ISelection selection = new StructuredSelection( SessionHandleAdapter.getInstance( )
				.getMediator( )
				.getCurrentState( )
				.getSelectionObject( ) );