Prateeksha Singh
há 7 anos
committed by
GitHub
ascendente
cometimento
694ab62d4b
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
1 adições e
1 eliminações
-
frappe/public/js/frappe/form/controls/multicheck.js
|
|
@@ -18,7 +18,7 @@ frappe.ui.form.ControlMultiCheck = frappe.ui.form.Control.extend({ |
|
|
|
refresh_input() { |
|
|
|
this.options.map(option => option.value).forEach(value => { |
|
|
|
$(this.wrapper) |
|
|
|
.find(`:checkbox[data-unit=${value}]`) |
|
|
|
.find(`:checkbox[data-unit="${value}"]`) |
|
|
|
.prop("checked", this.selected_options.includes(value)); |
|
|
|
}); |
|
|
|
}, |
|
|
|