fix in gs
This commit is contained in:
parent
e5de85aec2
commit
afb3d53f55
@ -38,7 +38,9 @@ cur_frm.cscript.render_communication_list = function(doc, dt, dn) {
|
||||
this._super(data);
|
||||
data.creation = wn.datetime.str_to_user(data.communication_date);
|
||||
|
||||
data.content = cstr(data.subject) + " | " + cstr(data.content);
|
||||
// replace double quote with blank string
|
||||
data.content = cstr(data.subject).replace(/"/gi, '')
|
||||
+ " | " + cstr(data.content).replace(/"/gi, '');
|
||||
|
||||
if(data.content && data.content.length > 50) {
|
||||
data.content = '<span title="'+data.content+'">' +
|
||||
|
@ -15,7 +15,9 @@ wn.doclistviews['Communication'] = wn.views.ListView.extend({
|
||||
this._super(data);
|
||||
data.creation = wn.datetime.only_date(data.creation);
|
||||
|
||||
data.content = cstr(data.subject) + " | " + cstr(data.content);
|
||||
// replace double quote with blank string
|
||||
data.content = cstr(data.subject).replace(/"/gi, '')
|
||||
+ " | " + cstr(data.content).replace(/"/gi, '');
|
||||
|
||||
if(data.content && data.content.length > 50) {
|
||||
data.content = '<span title="'+data.content+'">' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user