Sfoglia il codice sorgente

[minor] minor fixes in list_view.js

version-14
mbauskar 8 anni fa
parent
commit
7fa6b295a4
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      frappe/public/js/frappe/list/list_view.js

+ 3
- 3
frappe/public/js/frappe/list/list_view.js Vedi File

@@ -214,7 +214,7 @@ frappe.views.ListView = frappe.ui.BaseList.extend({
}

if (us.last_view === 'Inbox')
route.push(us['Inbox'].last_email_account)
route.push(us['Inbox'].last_email_account)
}

frappe.set_route(route);
@@ -758,7 +758,7 @@ frappe.views.ListView = frappe.ui.BaseList.extend({
if (!(this.can_delete || this.list_renderer.settings.selectable)) {
return;
}
this.$page.find('.list-row-checkbox').change(function () {
this.$page.on('change', '.list-row-checkbox, .list-select-all', function() {
me.toggle_delete();
});
// after delete, hide delete button
@@ -779,7 +779,7 @@ frappe.views.ListView = frappe.ui.BaseList.extend({
.addClass('btn-danger');

checked_items_status.text(
no_of_checked_items == 1
checked_items.length == 1
? __('1 item selected')
: __('{0} items selected', [checked_items.length])
)


Caricamento…
Annulla
Salva