| 3066 | // Key inputs | 3066 | // Key inputs |
| 3067 | const keyInput = enableKeysInputHelper({ template: editTemplate, entry, entryPropName: 'key', originalDataValueName: 'keys', name, data }); | 3067 | const keyInput = enableKeysInputHelper({ template: editTemplate, entry, entryPropName: 'key', originalDataValueName: 'keys', name, data }); |
| 3068 | const keySecondaryInput = enableKeysInputHelper({ template: editTemplate, entry, entryPropName: 'keysecondary', originalDataValueName: 'secondary_keys', name, data }); | 3068 | const keySecondaryInput = enableKeysInputHelper({ template: editTemplate, entry, entryPropName: 'keysecondary', originalDataValueName: 'secondary_keys', name, data }); |
| | 3069 | if (!keyInput.isFancy) initScrollHeight(keyInput.control); |
| | 3070 | if (!keySecondaryInput.isFancy) initScrollHeight(keySecondaryInput.control); |
| 3069 | | 3071 | |
| 3070 | // Key input switch | 3072 | // Key input switch |
| 3071 | editTemplate.find('.switch_input_type_icon').on('click', function () { | 3073 | editTemplate.find('.switch_input_type_icon').on('click', function () { |