minor fix in support ticket

This commit is contained in:
Anand Doshi 2012-12-27 13:32:11 +05:30
parent 84b11ed1cd
commit bde1f4f454
2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ cur_frm.cscript.refresh = function(doc,dt,dn) {
cur_frm.communication_view = new wn.views.CommunicationList({
list: wn.model.get("Communication", {"customer": doc.name}),
parent: cur_frm.fields_dict.communication_html.wrapper,
doc: doc
doc: doc,
});
}
}

View File

@ -51,6 +51,7 @@ $.extend(cur_frm.cscript, {
var comm_list = wn.model.get("Communication", {"support_ticket": doc.name})
comm_list.push({
"sender": doc.raised_by,
"creation": doc.creation,
"modified": doc.creation,
"content": doc.description});