{"pull_request":{"user":{"id":852746,"login":"mediavine","url":"https://api.github.com/users/mediavine","avatar_url":"https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"52fbfdf72bf76e14d1961931849b8bbf"},"merged_at":null,"created_at":"2011-12-22T16:50:15Z","title":"Added \"success\" trigger to remoteForm","state":"open","updated_at":"2011-12-22T16:50:15Z","review_comments":0,"id":624140,"patch_url":"https://github.com/sferik/rails_admin/pull/892.patch","deletions":0,"html_url":"https://github.com/sferik/rails_admin/pull/892","closed_at":null,"mergeable":null,"issue_url":"https://github.com/sferik/rails_admin/issues/892","base":{"user":{"id":10308,"login":"sferik","url":"https://api.github.com/users/sferik","avatar_url":"https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb"},"ref":"master","sha":"2c63152e072e54e23f0e21b7c8ea3dbaf6889255","repo":{"open_issues":60,"watchers":2643,"git_url":"git://github.com/sferik/rails_admin.git","created_at":"2010-08-01T17:01:00Z","fork":false,"updated_at":"2011-12-22T16:36:11Z","id":810796,"language":"Ruby","html_url":"https://github.com/sferik/rails_admin","name":"rails_admin","master_branch":null,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","url":"https://api.github.com/repos/sferik/rails_admin","ssh_url":"git@github.com:sferik/rails_admin.git","forks":512,"pushed_at":"2011-12-22T00:53:59Z","clone_url":"https://github.com/sferik/rails_admin.git","owner":{"id":10308,"login":"sferik","url":"https://api.github.com/users/sferik","avatar_url":"https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb"},"homepage":"","size":2024,"private":false,"svn_url":"https://svn.github.com/sferik/rails_admin"},"label":"sferik:master"},"commits":1,"body":"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:\r\n\r\n\r\n        $(\"#new_photo_div\").remoteForm({ success: function(event) { alert('success'); } });\r\n\r\nSorry, this is my first ever pull request so I apologize for anything I did wrong. ","number":892,"additions":1,"diff_url":"https://github.com/sferik/rails_admin/pull/892.diff","url":"https://api.github.com/repos/sferik/rails_admin/pulls/892","_links":{"review_comments":{"href":"https://api.github.com/repos/sferik/rails_admin/pulls/892/comments"},"html":{"href":"https://github.com/sferik/rails_admin/pull/892"},"self":{"href":"https://api.github.com/repos/sferik/rails_admin/pulls/892"},"comments":{"href":"https://api.github.com/repos/sferik/rails_admin/issues/892/comments"}},"merged_by":null,"comments":0,"head":{"user":{"id":852746,"login":"mediavine","url":"https://api.github.com/users/mediavine","avatar_url":"https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"52fbfdf72bf76e14d1961931849b8bbf"},"ref":"master","sha":"71c20983200773b2a4970f8fcb440e25d7f1900e","repo":{"open_issues":0,"watchers":1,"git_url":"git://github.com/mediavine/rails_admin-1.git","created_at":"2011-12-22T16:36:11Z","fork":true,"updated_at":"2011-12-22T16:47:49Z","id":3035060,"language":"Ruby","html_url":"https://github.com/mediavine/rails_admin-1","name":"rails_admin-1","master_branch":null,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","url":"https://api.github.com/repos/mediavine/rails_admin-1","ssh_url":"git@github.com:mediavine/rails_admin-1.git","forks":0,"pushed_at":"2011-12-22T16:47:48Z","clone_url":"https://github.com/mediavine/rails_admin-1.git","owner":{"id":852746,"login":"mediavine","url":"https://api.github.com/users/mediavine","avatar_url":"https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"52fbfdf72bf76e14d1961931849b8bbf"},"homepage":"","size":184,"private":false,"svn_url":"https://svn.github.com/mediavine/rails_admin-1"},"label":"mediavine:master"},"changed_files":1,"merged":false},"number":892,"action":"opened"}