Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rating: Thread Rating: 13 votes, 4.69 average. Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 03-07-2011, 10:52 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by ffcmike View Post
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 View Post
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);

..
__________________
Reply With Quote
 

Tags
graal v6, windows


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.