Commit 227a708e authored by Dietmar Maurer's avatar Dietmar Maurer

copy form/Boolean.js from manager to manager5

parent bc6f3f01
// 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();
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment