Closing span tags on form_links.html and list_view status field indicator. Also Removed extra calls from multicheck.js

This commit is contained in:
Jeans K. Real 2023-06-01 19:10:29 -06:00
parent efff6ebba7
commit f8edb3dc3d
3 changed files with 2 additions and 4 deletions

View file

@ -18,13 +18,11 @@ frappe.ui.form.ControlMultiCheck = class ControlMultiCheck extends frappe.ui.for
this.$checkbox_area = $(`<div class="checkbox-options ${row}"></div>`).appendTo(
this.wrapper
);
this.refresh();
}
refresh() {
this.set_options();
this.bind_checkboxes();
this.refresh_input();
super.refresh();
}

View file

@ -5,7 +5,7 @@
{% } %}
<div class="col-md-4">
<div class="form-link-title">
<span>{{ __(transactions[i].label) }}<span>
<span>{{ __(transactions[i].label) }}</span>
</div>
{% for (let j=0; j < transactions[i].items.length; j++) { %}
{% let doctype = transactions[i].items[j]; %}

View file

@ -1029,7 +1029,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
return `<span class="indicator-pill ${indicator[1]} filterable ellipsis"
data-filter='${indicator[2]}' title='${title}'>
<span class="ellipsis"> ${__(indicator[0])}</span>
<span>`;
</span>`;
}
return "";
}