how to create a Manual upload without a list of recently uploaded files showing up afterwards

Last post 09-24-2009, 11:19 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  09-23-2009, 12:31 PM 55819

    how to create a Manual upload without a list of recently uploaded files showing up afterwards

    I would like to create a single file upload that simply uploads a single file then redirects to another page.
    I do not want a table displaying the recently uploaded file to show up 
  •  09-24-2009, 11:19 AM 55852 in reply to 55819

    Re: how to create a Manual upload without a list of recently uploaded files showing up afterwards

    Hi,
     
    You can use this way to hide the table :
     
    <script type="text/javascript">
     function CuteWebUI_AjaxUploader_OnQueueUI(list)
     {
      var hasqueueoruploading=null;
      for(var i=0;i<list.length;i++)
      {
       var st=list[i].Status;
       if(st=="Queue"||st=="Upload")
        hasqueueoruploading=list[i].FileName;
      }
      if(hasqueueoruploading)
      {
       //show a panel that you have selected a file .
      }
     
    //return false can hide the queue table.
      return false;
     }
     </script>
View as RSS news feed in XML