Studio-42/elFinder — pull request #796 by attozk (2014-02-23 01:28:09+00:00)
Title: CORS and custom headers..

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);