Studio-42/elFinder — pull request #791 by attozk (2014-02-17 06:36:54+00:00)
Title: CORS & Custom header support

Added ability for the following:

- Passing custom headers
- Pass xhrFields

Usage:

elfinderOptions = {
customHeaders: {'X-Requested-With': 'XMLHttpRequest'},
xhrFields: {
withCredentials: true
},
customData: anyCustomData,
url : theURl,
...,
uiOptions,
...
and so on..
};

elf = $("#elfinder").elfinder(elfinderOptions);