Problem/Motivation

This has probably got to do with the jQuery selector in the script. I found that if I create an interface that opens modals through buttons and links, the first form opened will have color swatches, whereas the second and onwards won't.

Steps to reproduce

  1. Create a form that has a button to open a modal
  2. Make sure the modal has at least one coloris field
  3. Open modal
  4. Open modal again

Expected results

I expect the coloris fields in the modal to always gain a swatch and coloris selector interface.

Actual results

Only the first modal opened gain swatches and coloris selector interface.

Issue fork coloris-3313159

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

svenryen created an issue. See original summary.

svenryen’s picture

Status: Active » Fixed

  • svenryen committed b530f2f on 1.0.x
    Issue #3313159 by svenryen: When modals open, the first one gets...

  • svenryen committed cf6c169 on 1.0.x
    Issue #3313159 by svenryen: When modals open, the first one gets...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.