rem: fileObj.id = "singlefile"; var progress = new FileProgress(fileObj, this.customSettings.progress_target); progress.SetComplete(); progress.SetStatus("Complete."); progress.ToggleCancel(false);  if (server_data === " ") { this.customSettings.upload_successful = false; 
add: if (this.customSettings.upload_successful) { document.getElementById("btnBrowse").disabled = "true"; uploadDone(); 
context: function uploadComplete(fileObj, server_data) {	try {		fileObj.id = "singlefile";	// This makes it so FileProgress only makes a single UI element, instead of one for each file		var progress = new FileProgress(fileObj, this.customSettings.progress_target);		progress.SetComplete();		progress.SetStatus("Complete.");		progress.ToggleCancel(false);				if (server_data === " ") {			this.customSettings.upload_successful = false;		} else {			this.customSettings.upload_successful = true;			document.getElementById("hidFileID").value = server_data;		}			} catch (e) { }}
meta: 8671	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8671/0728abe6ef714e7a21c1a4c55daf978dc8298da1/handlers.js/clean/demos/formsdemo/js/handlers.js