I'm trying to figure this out, but is it possible to upload under a subdomain but on the same site?
for instance in uploader.js if i make it like this:
FileUpload.DEFAULTS = {
url: 'https://subdomain.domain.com' + location.pathname,
uploadHandler: null,
sortHandler: null,
uniqueId: null,
extraData: {},
paramName: 'file_data',
fileTypes: null,
maxFilesize: 256,
template: null,
isMulti: null,
isPreview: null,
isSortable: null,
thumbnailWidth: 120,
thumbnailHeight: 120
}
I get this error:
AJAX handler 'onUpload' was not found.
This only happens when doing this under a different domain other than what the current domain is. If it's the same domain then it works fine.
I'm trying to figure this out, but is it possible to upload under a subdomain but on the same site?
for instance in uploader.js if i make it like this:
I get this error:
AJAX handler 'onUpload' was not found.This only happens when doing this under a different domain other than what the current domain is. If it's the same domain then it works fine.