Minor fix

Former-commit-id: e9827e1294a995fc13deb42d701ea103cf9ad1da
This commit is contained in:
Alejandro Gallardo Escobar 2018-12-12 09:41:52 +01:00
parent 739f0d2690
commit 5d52e9f9c3
1 changed files with 2 additions and 0 deletions

View File

@ -2007,6 +2007,8 @@ function cleanFields(item) {
$("input[name='diameter']").val(100);
$("input[name='default_color']").val("#FFFFFF");
// Clean dynamic fields
$("table.color-range-creation input[type=text]").val("");
$("table.color-range-creation input[type=color]").val("#FFFFFF");
$("table.color-range:not(table.color-range-creation)").remove();
$("#preview").empty();