add form/TaskTypeSelector
for suggesting workery types when we want to filter by them Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
57ba4cdcb3
commit
050c168499
@ -31,6 +31,7 @@ JSSRC= \
|
||||
form/RoleSelector.js \
|
||||
form/DiskSelector.js \
|
||||
form/MultiDiskSelector.js \
|
||||
form/TaskTypeSelector.js \
|
||||
button/Button.js \
|
||||
button/HelpButton.js \
|
||||
grid/ObjectGrid.js \
|
||||
|
12
src/form/TaskTypeSelector.js
Normal file
12
src/form/TaskTypeSelector.js
Normal file
@ -0,0 +1,12 @@
|
||||
Ext.define('Proxmox.form.TaskTypeSelector', {
|
||||
extend: 'Ext.form.field.ComboBox',
|
||||
alias: 'widget.pmxTaskTypeSelector',
|
||||
|
||||
anyMatch: true,
|
||||
|
||||
initComponent: function() {
|
||||
let me = this;
|
||||
me.store = Object.keys(Proxmox.Utils.task_desc_table).sort();
|
||||
me.callParent();
|
||||
},
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user