rem: if ( wgAjaxUploadDestCheck ) { wgUploadWarningObj.checkNow(fname) ; } 
add: wgUploadWarningObj.checkNow(fname) ; 
context: function fillDestFilename(id) {	if (!document.getElementById) {		return;	}	var path = document.getElementById(id).value;	// Find trailing part	var slash = path.lastIndexOf('/');	var backslash = path.lastIndexOf('\\');	var fname;	if (slash == -1 && backslash == -1) {		fname = path;	} else if (slash > backslash) {		fname = path.substring(slash+1, 10000);	} else {		fname = path.substring(backslash+1, 10000);	}	// Capitalise first letter and replace spaces by underscores	fname = fname.charAt(0).toUpperCase().concat(fname.substring(1,10000)).replace(/ /g, '_');	// Output result	var destFile = document.getElementById('wpDestFile');	if (destFile) {		destFile.value = fname;		if ( wgAjaxUploadDestCheck ) {			wgUploadWarningObj.checkNow(fname) ;		}	}}
meta: 7328	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7328/19ea5ee7f4c1d2f4b5e05ca665ac81429df182b1/upload.js/clean/skins/common/upload.js