mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
refactored communication and added to Lead / Contact
This commit is contained in:
@@ -20,8 +20,9 @@ erpnext.CommunicationView = Class.extend({
|
||||
this.comm_list = [];
|
||||
$.extend(this, opts);
|
||||
|
||||
this.list.sort(function(a, b) { return new Date(a.modified) > new Date(b.modified)
|
||||
? -1 : 1 })
|
||||
this.list.sort(function(a, b) { return
|
||||
(new Date(a.modified) > new Date(b.modified))
|
||||
? -1 : 1; })
|
||||
|
||||
this.make();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user