sferik/rails_admin — pull request #892 by mediavine (2011-12-22 16:50:15+00:00)
Title: Added "success" trigger to remoteForm

I want to re-use the remoteForm in some of my custom form elements. I added a trigger on AJAX success that I can bind to via:

$("#new_photo_div").remoteForm({ success: function(event) { alert('success'); } });

Sorry, this is my first ever pull request so I apologize for anything I did wrong.