Merge pull request #1314 from nabinhait/hotfix

comment fix
This commit is contained in:
Nabin Hait 2014-01-14 02:29:39 -08:00
commit 6dc1ba6f7f
2 changed files with 4 additions and 3 deletions

View File

@ -70,6 +70,6 @@ def on_build():
def comment_added(doc):
"""add comment to feed"""
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by,
'<i>"' + doc.comment + '"</i>', '#6B24B3')
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname,
doc.comment_by or doc.owner, '<i>"' + doc.comment + '"</i>', '#6B24B3')

View File

@ -2,11 +2,12 @@
{
"creation": "2013-01-10 16:34:30",
"docstatus": 0,
"modified": "2013-11-02 16:59:22",
"modified": "2014-01-14 15:56:22",
"modified_by": "Administrator",
"owner": "harshada@webnotestech.com"
},
{
"allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"icon": "icon-bug",