It's very puzzling that you would be getting an error from this function.
This function occurs in lib/scripts/compatability.js at line 37. You could try this:
function DEPRECATED_WRAP(func, context) {
try {
return function () {
DEPRECATED();
return func.apply(context || this, arguments);
};
}catch(ex) {
alert(ex);
}
}
This
might give you some idea of where the error is coming from and it will trap the error and so you might then be able to upload, depending on the nature of the underlying problem. Try it in all of your browsers. Firefox will probably give you the most detail. Start by clearing out the Dokuwiki cache, because DW caches the javascript. And clear out the browser cache as well. You might have to do these things a few times.