jquery-bootstrap-scripting
jquery-bootstrap-scripting copied to clipboard
Add response,status,xhr,form,dialog params to dialog2.ajax-complete. Fix extra spaces in lines.
Hello, with that patch I made dialog2.ajax-complete event usefull. With that params I can have much more control over ajax process.
Yes. Could you please update your pull request? To remove these additional changes?
I'm out of time, but I'll fix this week, probably in weekend.
Lines 45 to 47 in commit.
https://github.com/chronossc/jquery-bootstrap-scripting/commit/cbd1bfb37823d3e523327aaf0b3ee9aa79019707#L0R45
Ahn, @Nikku, maybe is a nice opportunity to think what events should send response, or loaded content, etc, and also change this ones.
Also, a note about sending dialog to event, I did it because I can't close dialog in other way.
If we need to access dialog from any event how we do it without send dialog as argument to binded function?