mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 20:48:27 +00:00
minor fix in communication list view
This commit is contained in:
@@ -16,8 +16,10 @@ wn.doclistviews['Communication'] = wn.views.ListView.extend({
|
||||
this.prepare_when(data, data.creation);
|
||||
|
||||
// escape double quote
|
||||
data.content = cstr(data.subject).replace(/"/gi, '\"')
|
||||
+ " | " + cstr(data.content).replace(/"/gi, '\"');
|
||||
data.content = cstr(data.subject)
|
||||
+ " | " + cstr(data.content);
|
||||
data.content = data.content.replace(/"/gi, '\"')
|
||||
.replace(/</gi, '<').replace(/>/gi, '>');
|
||||
|
||||
if(data.content && data.content.length > 50) {
|
||||
data.content = '<span title="'+data.content+'">' +
|
||||
|
||||
Reference in New Issue
Block a user