I use bundle id as the main key for js.
However, when the bundle id has a colon in it, the js function isn't workable.
$bundle_id = $items->getFieldDefinition()->getTargetBundle();
"profile_form:shipping-profile"
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Fixed-colon-jquery-problem-3105559-2.patch | 14.79 KB | cobenash |
Comments
Comment #2
cobenashQuick patch.
Also, according to the drupal style guild, did some coding style changes.
Comment #3
cobenashComment #4
cobenashuploaded the correct one.
Comment #7
cobenash