proxmox-widget-toolkit/form
Dominik Csapak 5003213241 open picker for all comboboxes on focus, even if they are editable
when a combobox was editable, a click inside did not open the picker,
but it would if the combobox was not editable.

Since this is
 1. Inconsistent
 2. Inconvenient (the user has to specifically press the arrow)

we already had this implemented for our ComboGrid, but not for
regular comboboxes

This patch moves the code for this to an override for ComboBox, which
our ComboGrid then inherits (so we do not need it there anymore)

while at it, do some non-significant code-cleanup
 * whitespace fixes
 * don't shadow 'me' in the focus callback
 * fix typo in comment

Originally this was implemented in pve-manager, commit
851c032d69ad5ae23725dd1add9e4084ebc12650

https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=851c032d69ad5ae23725dd1add9e4084ebc12650

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Originally-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-16 14:39:38 +02:00
..
BondModeSelector.js node network: refactor bond mode array generation 2019-07-10 12:26:54 +02:00
Checkbox.js try to use real config properties 2017-03-29 18:47:19 +02:00
ComboGrid.js open picker for all comboboxes on focus, even if they are editable 2020-04-16 14:39:38 +02:00
DateTimeField.js DateTimeField.js - relay change events 2017-09-21 09:36:36 +02:00
ExpireDate.js form: add Proxmox.form.field.ExpireDate 2020-03-31 18:13:20 +02:00
IntegerField.js try to use real config properties 2017-03-29 18:47:19 +02:00
KVComboBox.js KVComboBox: add setComboItems function 2019-07-11 15:00:14 +02:00
LanguageSelector.js LanguageSelector.js - add language selector 2017-10-04 11:16:22 +02:00
NetworkSelector.js network selector: allow to select IP too 2019-06-27 21:51:02 +02:00
RRDTypeSelector.js add RRDTypeSelector class 2017-08-29 06:25:25 +02:00
TextField.js textfield: validate after allowBlank 2019-06-27 14:21:17 +02:00