Re: getting error when uploading the same document I have open in Word

  •  10-28-2009, 9:43 AM

    Re: getting error when uploading the same document I have open in Word

    Hi,
     
    Users can't upload locked files.
     
    But you can modify the error message by this way :
     
    function CuteWebUI_AjaxUploader_OnError(msg)
    {
        if(msg.indexOf("IO_SharingViolation_File")!=-1)
        {
            alert("the file is locked");
            return false;
        }
    }
View Complete Thread