Development

#10017 ([PATCH][sfFormExtraPlugin] sfWidgetFormJQueryDate.class.php has day always disabled on firefox)

You must first sign up to be able to contribute.

Ticket #10017 (new defect)

Opened 1 year ago

[PATCH][sfFormExtraPlugin] sfWidgetFormJQueryDate.class.php has day always disabled on firefox

Reported by: Stephen.Ostrow Assigned to: fabien
Priority: minor Milestone: plugins
Component: sfFormExtraPlugin Version: 1.4.10
Keywords: Cc:
Qualification: Unreviewed

Description

You're using the following code to reset the options of the select box. However, this code actually disables every option of the date selector in firefox.

jQuery("#%s option").attr("disabled", "");

The following code seems to be more cross-browser friendly.

jQuery("#%s option").attr("disabled", false);

Tested in Chrome and Firefox.

Attachments

sfWidgetFormJQueryDate_disabled.patch (0.9 kB) - added by Stephen.Ostrow on 04/02/12 20:39:47.

Change History

04/02/12 20:39:47 changed by Stephen.Ostrow

  • attachment sfWidgetFormJQueryDate_disabled.patch added.