Description
As the title says, for Safari, wicket defines Function.prototype.bind (cause the browser doesn't have it).
But it's not compatible to what the other browsers and frameworks offer. Prepending arguments should be allowed.
In Wicket 1.6 I don't know if this is still relevant with the switch to jQuery (which has 'proxy'). The .js at least is no longer there.
Just replace the existing Function.prototype.bind declaration with:
if (Function.prototype.bind == null) { Function.prototype.bind = function(context) { var method = this; var args = Array.prototype.slice.call(arguments, 1); return function() { return method.apply(context, args.concat(Array.prototype.slice.call(arguments))); }; } }