From ac7e40949d7297be3f25bbbb480a3d2f4f46e831 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Wed, 5 Apr 2017 23:56:16 +0530 Subject: [PATCH] [fix] Timeline creation always showing few seconds ago (#3017) --- frappe/public/js/frappe/form/footer/timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/footer/timeline.js b/frappe/public/js/frappe/form/footer/timeline.js index 16c51819ba..a296762426 100644 --- a/frappe/public/js/frappe/form/footer/timeline.js +++ b/frappe/public/js/frappe/form/footer/timeline.js @@ -141,6 +141,7 @@ frappe.ui.form.Timeline = Class.extend({ communication_type: "Comment", sender: this.frm.doc.owner, communication_date: this.frm.doc.creation, + creation: this.frm.doc.creation, frm: this.frm }); @@ -154,7 +155,6 @@ frappe.ui.form.Timeline = Class.extend({ render_timeline_item: function(c) { var me = this; this.prepare_timeline_item(c); - var $timeline_item = $(frappe.render_template("timeline_item", {data:c, frm:this.frm})) .appendTo(me.list) .on("click", ".close", function() {