Ver a proveniência

fix(linter): Trim Trailing Whitespace

version-14
Shariq Ansari há 3 anos
ascendente
cometimento
45e2361dcc
2 ficheiros alterados com 5 adições e 5 eliminações
  1. +2
    -2
      frappe/custom/doctype/customize_form/customize_form.js
  2. +3
    -3
      frappe/custom/doctype/customize_form/customize_form.py

+ 2
- 2
frappe/custom/doctype/customize_form/customize_form.js Ver ficheiro

@@ -52,8 +52,8 @@ frappe.ui.form.on("Customize Form", {

grid_row.row.removeClass("highlight");

if (grid_row.doc.is_custom_field &&
!grid_row.row.hasClass('highlight') &&
if (grid_row.doc.is_custom_field &&
!grid_row.row.hasClass('highlight') &&
!grid_row.doc.is_system_generated) {
grid_row.row.addClass("highlight");
}


+ 3
- 3
frappe/custom/doctype/customize_form/customize_form.py Ver ficheiro

@@ -68,9 +68,9 @@ class CustomizeForm(Document):

for d in meta.get("fields"):
new_d = {
"fieldname": d.fieldname,
"is_custom_field": d.get("is_custom_field"),
"is_system_generated": d.get("is_system_generated"),
"fieldname": d.fieldname,
"is_custom_field": d.get("is_custom_field"),
"is_system_generated": d.get("is_system_generated"),
"name": d.name
}
for prop in docfield_properties:


Carregando…
Cancelar
Guardar