rem: var fname = this.target? this.target.unicodePath : " "; var n = fname.lastIndexOf( "\\" ); title = this.replaceInsert( title, 1, fname.substring( n + 1 ) ); 
add: title = this.replaceInsert( title, 1, this.fileName() ); 
context:     setTitle: function() {        // Start with saving/opening template.        var title = this.saving ? this.getString( "savingTitle" ) : this.getString( "openingTitle" );        // Use file name as insert 1.        var fname = this.target? this.target.unicodePath : " ";        var n = fname.lastIndexOf( "\\" );        title = this.replaceInsert( title, 1, fname.substring( n + 1 ) );        // Use percentage as insert 2.        title = this.replaceInsert( title, 2, this.percent );        // Set <window>'s title attribute.        if ( this.dialog ) {            this.dialog.title = title;        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9f4d9bdfa78386ce9791c619ccc2aa1c42dad59f/nsProgressDialog.js/clean/embedding/components/ui/progressDlg/nsProgressDialog.js