{"action":"created","issue":{"url":"https://api.github.com/repos/spree/spree/issues/7551","repository_url":"https://api.github.com/repos/spree/spree","labels_url":"https://api.github.com/repos/spree/spree/issues/7551/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/7551/comments","events_url":"https://api.github.com/repos/spree/spree/issues/7551/events","html_url":"https://github.com/spree/spree/pull/7551","id":173186259,"number":7551,"title":"Add disable_with option to prevent multiple request on consecutive clicks","user":{"login":"nimish13","id":13478899,"avatar_url":"https://avatars.githubusercontent.com/u/13478899?v=3","gravatar_id":"","url":"https://api.github.com/users/nimish13","html_url":"https://github.com/nimish13","followers_url":"https://api.github.com/users/nimish13/followers","following_url":"https://api.github.com/users/nimish13/following{/other_user}","gists_url":"https://api.github.com/users/nimish13/gists{/gist_id}","starred_url":"https://api.github.com/users/nimish13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nimish13/subscriptions","organizations_url":"https://api.github.com/users/nimish13/orgs","repos_url":"https://api.github.com/users/nimish13/repos","events_url":"https://api.github.com/users/nimish13/events{/privacy}","received_events_url":"https://api.github.com/users/nimish13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T12:10:33Z","updated_at":"2016-08-26T14:26:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/7551","html_url":"https://github.com/spree/spree/pull/7551","diff_url":"https://github.com/spree/spree/pull/7551.diff","patch_url":"https://github.com/spree/spree/pull/7551.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/spree/spree/issues/comments/242750148","html_url":"https://github.com/spree/spree/pull/7551#issuecomment-242750148","issue_url":"https://api.github.com/repos/spree/spree/issues/7551","id":242750148,"user":{"login":"nimish13","id":13478899,"avatar_url":"https://avatars.githubusercontent.com/u/13478899?v=3","gravatar_id":"","url":"https://api.github.com/users/nimish13","html_url":"https://github.com/nimish13","followers_url":"https://api.github.com/users/nimish13/followers","following_url":"https://api.github.com/users/nimish13/following{/other_user}","gists_url":"https://api.github.com/users/nimish13/gists{/gist_id}","starred_url":"https://api.github.com/users/nimish13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nimish13/subscriptions","organizations_url":"https://api.github.com/users/nimish13/orgs","repos_url":"https://api.github.com/users/nimish13/repos","events_url":"https://api.github.com/users/nimish13/events{/privacy}","received_events_url":"https://api.github.com/users/nimish13/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T14:26:03Z","updated_at":"2016-08-26T14:26:03Z","body":"Hi @damianlegawiec  the [commit](https://github.com/spree/spree/blob/210cc29b1ad763bae2722e20ccf787619b2db8d2/backend/app/views/spree/admin/shared/_new_resource_links.html.erb#L2) you are referring to is solving only a particular case but what I have fixed is pretty generic and helps at all the places where `button` helper_method is being used. For example.\r\n([return_authorizations](https://github.com/spree/spree/blob/8bfa0824d2a7f6cfa6efc9bd4e32d1d564f6270b/backend/app/views/spree/admin/return_authorizations/new.html.erb#L15), [adjustments/edit]( https://github.com/spree/spree/blob/8bfa0824d2a7f6cfa6efc9bd4e32d1d564f6270b/backend/app/views/spree/admin/adjustments/edit.html.erb#L14), [shared/_edit_resource_links)](https://github.com/spree/spree/blob/210cc29b1ad763bae2722e20ccf787619b2db8d2/backend/app/views/spree/admin/shared/_edit_resource_links.html.erb#L2)"}}
{"actor":{"display_login":"nimish13"}}