copy form/Boolean.js from manager to manager5

This commit is contained in:
Dietmar Maurer 2015-07-03 11:29:11 +02:00
parent 056115579a
commit 70fd8ec2d1

View File

@ -0,0 +1,17 @@
// boolean type including 'Default' (delete property from file)
Ext.define('PVE.form.Boolean', {
extend: 'PVE.form.KVComboBox',
alias: ['widget.booleanfield'],
initComponent: function() {
var me = this;
me.data = [
['', gettext('Default')],
[1, gettext('Yes')],
[0, gettext('No')]
];
me.callParent();
}
});