Browse Source

minor fix

version-14
Zlash65 7 years ago
parent
commit
817cc2927a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/controls/multicheck.js

+ 1
- 1
frappe/public/js/frappe/form/controls/multicheck.js View File

@@ -18,7 +18,7 @@ frappe.ui.form.ControlMultiCheck = frappe.ui.form.Control.extend({
refresh_input() { refresh_input() {
this.options.map(option => option.value).forEach(value => { this.options.map(option => option.value).forEach(value => {
$(this.wrapper) $(this.wrapper)
.find(`:checkbox[data-unit=${value}]`)
.find(`:checkbox[data-unit="${value}"]`)
.prop("checked", this.selected_options.includes(value)); .prop("checked", this.selected_options.includes(value));
}); });
}, },


Loading…
Cancel
Save