Support forums
in

CuteWebUI_AjaxUploader_OnSelect error.

Last post 09-28-2009, 8:24 AM by Michael Raizman. 2 replies.
Sort Posts: Previous Next
  •  09-25-2009, 9:54 AM 55880

    CuteWebUI_AjaxUploader_OnSelect error.

    Hi all,
     
    I used the CuteWebUI_AjaxUploader_OnSelect event in order to validate the filename:
     
        function CuteWebUI_AjaxUploader_OnSelect(files)
        {
            var name = files[0].FileName;
            var size = files[0].FileSize // (or -1)

            DoValidationCallBack(name);

            debugger;
            
            if (callbackResult.indexOf("ok") != 0) {
                
                return false;
            }
        }

    Validation is performed on server side using callback. So if it fails I return false. At this moment the "'arr' is undefined" message is popped up by the browser. Debugger show, that it was thrown from CuteWebUI_Uploader_Resource.axd?type=script&_ver=633886310254119016.
     
    What should I do to avoid this message?

    Regards,
    Michael Raizman
  •  09-26-2009, 8:29 AM 55887 in reply to 55880

    Re: CuteWebUI_AjaxUploader_OnSelect error.

    Hi,
     
    That's a bug on IFrame mode. We have fixed it yestoday.
     
    Please download it again  :  http://ajaxuploader.com/
     
    Regards,
    Terry
     
  •  09-28-2009, 8:24 AM 55914 in reply to 55887

    Re: CuteWebUI_AjaxUploader_OnSelect error.

    Thank you very much!!!
    Regards,
    Michael Raizman
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems