Selaa lähdekoodia

[minor] added timeout while setting values

version-14
Rushabh Mehta 8 vuotta sitten
vanhempi
commit
ac55a8626e
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +2
    -0
      frappe/tests/ui/data/test_lib.js

+ 2
- 0
frappe/tests/ui/data/test_lib.js Näytä tiedosto

@@ -36,6 +36,7 @@ frappe.tests = {
} }
}; };
tasks.push(task); tasks.push(task);
tasks.push(() => frappe.timeout(0.2));
} }
}); });


@@ -64,6 +65,7 @@ frappe.tests = {
return frappe.model.set_value(grid_row.doc.doctype, return frappe.model.set_value(grid_row.doc.doctype,
grid_row.doc.name, child_key, child_value[child_key]); grid_row.doc.name, child_key, child_value[child_key]);
}); });
grid_value_tasks.push(() => frappe.timeout(0.2));
} }
}); });




Ladataan…
Peruuta
Tallenna