From c4f08ef456e40a832f36bb7574c0622257cc2b5c Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 5 Jun 2013 17:14:52 +0530 Subject: [PATCH] [views] cleaned up, added ganttview --- hr/doctype/leave_application/leave_application_calendar.js | 4 ++-- projects/doctype/time_log/time_log_calendar.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hr/doctype/leave_application/leave_application_calendar.js b/hr/doctype/leave_application/leave_application_calendar.js index 398664e530..48eb7fad83 100644 --- a/hr/doctype/leave_application/leave_application_calendar.js +++ b/hr/doctype/leave_application/leave_application_calendar.js @@ -1,4 +1,4 @@ -wn.views.calendar["Leave Application"] = wn.views.Calendar.extend({ +wn.views.calendar["Leave Application"] = { field_map: { "start": "from_date", "end": "to_date", @@ -14,4 +14,4 @@ wn.views.calendar["Leave Application"] = wn.views.Calendar.extend({ } }, get_events_method: "hr.doctype.leave_application.leave_application.get_events" -}) \ No newline at end of file +} \ No newline at end of file diff --git a/projects/doctype/time_log/time_log_calendar.js b/projects/doctype/time_log/time_log_calendar.js index e5bb774a0c..52338a91e3 100644 --- a/projects/doctype/time_log/time_log_calendar.js +++ b/projects/doctype/time_log/time_log_calendar.js @@ -1,4 +1,4 @@ -wn.views.calendar["Time Log"] = wn.views.Calendar.extend({ +wn.views.calendar["Time Log"] = { field_map: { "start": "from_time", "end": "to_time", @@ -7,4 +7,4 @@ wn.views.calendar["Time Log"] = wn.views.Calendar.extend({ "allDay": "allDay" }, get_events_method: "projects.doctype.time_log.time_log.get_events" -}) \ No newline at end of file +} \ No newline at end of file