Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Re: Uploading opened file error.
Uploading opened file error.
Last post 08-19-2009, 8:13 PM by
cutechat
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
08-19-2009, 2:23 PM
54813
AllanLin
Joined on 07-29-2009
Posts 5
Uploading opened file error.
Reply
Quote
When trying to upload a file which is currently being edit throws an error. Although the behavior is not completely unexpected it would be nice to have a mechanism to modify the error message so it is more friendly.
Thanks
Allan Lin
08-19-2009, 8:13 PM
54824
in reply to
54813
cutechat
Joined on 07-22-2004
Posts 2,332
Re: Uploading opened file error.
Reply
Quote
Allan,
Please check this way :
<script>
function CuteWebUI_AjaxUploader_OnError(msg)
{
if(msg.indexOf("IO_SharingViolation_File")!=-1)
{
alert("The file is locked");
return false;
}
}
</script>
Regards,
Terry