[pve-devel] applied: [PATCH manager 1/2] remove unnecessary trigraph

Dietmar Maurer dietmar at proxmox.com
Mon Oct 31 17:22:36 CET 2016


> +    delete_if_default: function(values, fieldname, default_val, create) {
> +       if (values[fieldname] === default_val) {
> +           if (!create) {
> +               if (values['delete']) {
> +                   values['delete'] += ',' + fieldname;
> +               } else {
> +                   values['delete'] = fieldname;
> +               }
> +           }
> +
> +           delete values.group;

oh, what is 'group' here? I guess this should be

   delete value[fieldname];

?




More information about the pve-devel mailing list