Skip to content

a[disabled=disabled] for data-remote to disable ajax request on a link? #317

Closed
@pier-oliviert

Description

@pier-oliviert

Since the data-remote links are handled with jquery-ujs, it's kinda hard to disable a link, I've added a feature on my fork to disable the ajax request when you set the attribute "disabled"

Here you can have a look at the commit(Tests are all green):

pier-oliviert@8eabf3a

Yay or nay?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions