Conversation
|
Hello, in fbbefa0 we had a little discussion and we're going to get to beforeSend issues soon, including your fix. Thanks |
|
I am also quite interested in this. I was having issues with my beforeSend callback not being called, even when using your ajaxSetup method of "initializing" a global beforeSend callback. Anyway, take a look at this fork. Maybe d94dc1d4e3d4bed0cc2588c44a6ed6b5d6b3ac88 is helpful? |
|
It doesn't seem you are very confident about what you're doing here. Your "improvement" only seems to complicate things more, but you were right that original jQ "beforeSend" callback has two parameters. We'll get to the bottom of this. Us maintainers have to have an internal chat |
|
No worries, I think I haven't had time to fully understand the root issue at hand. I'm looking forward to seeing where this goes. Just trying to be helpful :P |
|
Oops, disregard that last commit, was meant to reference issue 63 jquery-rails. |
Currently the event beforeSend is triggered, but the code is listening for before meaning it never gets hit, and buttons get blanked out and broken when data-disable-with is used