I mean "requesttext("folder", "PERSONAL");, selectFileForUpload();" which is used for players being able to upload graphics in game.
All that's happening is that once the file is selected the window is disappearing and that's the last of it, there is no onFilesUploaded().
I actually noticed this as long ago as V6 becoming a beta test, just thought there was some deliberate reason for it.
Quote:
Originally Posted by Stefan
I've fixed the file upload, scripts now need to call uploadfile(filename) to actually upload the file (they might like to do other things with the filename) (setting FileSelector_Window.requestscript to make sure it's us who requested it):
PHP Code:
function onMenuItemUploadFile() {
FileSelector_Window.requestscript = this.name;
selectFileForUpload();
}
function onSelectedFileForUpload(fullfilename) {
if (FileSelector_Window.requestscript==this.name)
uploadfile(fullfilename);
}