]>
git.proxmox.com Git - proxmox-widget-toolkit.git/blob - src/form/PruneKeepField.js
1 Ext
.define('Proxmox.form.field.PruneKeep', {
2 extend
: 'Proxmox.form.field.Integer',
3 xtype
: 'pmxPruneKeepField',
9 change: function(field
, newValue
, oldValue
) {
10 if (newValue
!== this.originalValue
) {
11 this.triggers
.clear
.setVisible(true);
17 cls
: 'pmx-clear-trigger',
21 this.triggers
.clear
.setVisible(false);
22 this.setValue(this.originalValue
);