 if ( this.__pendingCascadingCalls > 0 ) { debug("defer okPress call");  this.__onDataChanged = this.__okPress.bindAsEventListener(this); return; }  
	__okPress : function( )	{		if( birtParameterDialog.collect_parameter( ) )		{			// workaround for Bugzilla Bug 146566. 			// If change parameter and re-generate docuemnt file, close TOC panel.			if ( this.__mode == 'frameset' )			{				var oToc = $( 'display0' );				var oDoc = $( 'Document' );				if( oToc && oDoc )				{ 							oDoc.style.width = BirtPosition.viewportWidth( ) + "px";					oToc.style.display="none";					oToc.query = '0';				}			}					var action = soapURL.toLowerCase( );						if ( this.__mode == 'parameter' )			{				// check whether set __nocache setting in URL				if ( this.__ifCache( action ) )					birtEventDispatcher.broadcastEvent( birtEvent.__E_CACHE_PARAMETER );				else					this.__doSubmitWithPattern( );			}			else if ( this.__ifSubmit( this.__mode, action ) )			{				this.__doSubmit( );			}			else			{				if( this.__mode == 'frameset' )				{					// reset the page number to 1					var oPageNumber = $( 'pageNumber' );					if ( oPageNumber )					{						oPageNumber.innerHTML = "1";											}										birtEventDispatcher.broadcastEvent( birtEvent.__E_CHANGE_PARAMETER );				}				else				{					// if 'run' mode, fire GetPageAll event					this.__init_page_all( );				}								this.__l_hide( );			}		}	},
9270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9270/c94e57d9964833d48f6d5f45a4b574aee295d430/BirtParameterDialog.js/buggy/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/ui/dialog/BirtParameterDialog.js