Skip to content

"disable-with" and "confirm" do not work #315

@john-999

Description

@john-999
data-disable-with

and

data-confirm

do not work:

  • with the button element
  • using: gem 'jquery-rails', '2.2.1'
  • in Rails 3.2.13, Rails 4.0.0 (beta)
  • tested in FF, Chromium, Opera

Code for "disable_with":

<button data-disable-with="Please wait..." name="button" type="submit">Click to disable</button>

Code for "confirm":

<button data-confirm="Are you sure?" name="button" type="submit">Click to confirm</button>

See it in action here: https://github.com/john-999/disable_with_issue

This issue could be related to:

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