When a user copy and paste a string into the feature name field, the machine name isn't generating correctly because into the JS code, the unique handler that is implemented is keyup. We have to implement the onchange handler and manage the keyup event correctly
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | features_946068_keyup.patch | 777 bytes | hefox |
| #2 | features-946068.patch | 1 KB | rvilar |
Comments
Comment #1
rvilarI rewrite the problem:
If the user starts typing in the feature name field, it shows previous entered values. If the user selects one of this and click the tab key, the machine name doesn't update correctly.
Comment #2
rvilarAttached patch that solves this problem
Comment #3
rvilarChanging state
Comment #4
hefox commentedCommited after quick review http://drupalcode.org/project/features.git/commit/e244546
Code different in d7 (why isn't is using core? machine name element?) but similair code is there
Comment #5
hefox commentedComment #6
hefox commentedGoing to open a new issue about converting to machine name element, but here's the patch for d7
Comment #7
fabsor commentedThis works fine!
Comment #8
febbraro commentedThanks. http://drupalcode.org/project/features.git/commit/4c3ab64