]> git.proxmox.com Git - pve-manager.git/blame - www/manager/form/Boolean.js
imported from svn 'pve-manager/pve2'
[pve-manager.git] / www / manager / form / Boolean.js
CommitLineData
aff192e6
DM
1// boolean type including 'Default' (delete property from file)
2Ext.define('PVE.form.Boolean', {
3 extend: 'PVE.form.KVComboBox',
4 alias: ['widget.booleanfield'],
5
6 initComponent: function() {
7 var me = this;
8
9 me.data = [
10 ['', 'Default'],
11 [1, 'Yes'],
12 [0, 'No']
13 ];
14
15 me.callParent();
16 }
17});