10-07-2019, 10:35 AM
Hi Alexandre,
Will do that. Small other question related to TIWFileUploader.AcceptFiles:
According to the documentation:
Is the documentation wrong here?
I want to set it to "image/*". This is not possible. It's changed to ".image/*".
To get the same effect I use some javascript
Will do that. Small other question related to TIWFileUploader.AcceptFiles:
According to the documentation:
Quote:When true, will accept files for upload
Default value: True
Is the documentation wrong here?
I want to set it to "image/*". This is not possible. It's changed to ".image/*".
To get the same effect I use some javascript
Code:
function InitFileUploader() {
// file uploader (executed after Intraweb js has run to setup page)
$("#FILEUPLOADER_INPUT").attr("capture","camera");
$("#FILEUPLOADER_INPUT").attr("accept","image/*");
$("#FILEUPLOADER_button").attr("class","btn btn-primary btn-block");
}