[design] form toolbar

This commit is contained in:
Rushabh Mehta
2014-12-23 17:56:47 +05:30
committed by Anand Doshi
parent 6f7cba8d73
commit 4096a3ab2b
13 changed files with 26 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ frappe.listview_settings['Time Log'] = {
add_fields: ["status", "billable", "activity_type", "task", "project", "hours", "time_log_for"],
selectable: true,
onload: function(me) {
me.appframe.add_primary_action(__("Make Time Log Batch"), function() {
me.page.add_menu_item(__("Make Time Log Batch"), function() {
var selected = me.get_checked_items() || [];
if(!selected.length) {