minor fix in support ticket list view
This commit is contained in:
parent
fef4a71177
commit
36f5e257ed
@ -34,9 +34,12 @@ wn.doclistviews['Support Ticket'] = wn.views.ListView.extend({
|
||||
});
|
||||
|
||||
// escape double quotes
|
||||
data.description = cstr(data.subject).replace(/"/gi, '\"')
|
||||
+ " | " + cstr(data.description).replace(/"/gi, '\"');
|
||||
|
||||
data.description = cstr(data.subject)
|
||||
+ " | " + cstr(data.description);
|
||||
|
||||
data.description = data.description.replace(/"/gi, '\"')
|
||||
.replace(/</gi, '<').replace(/>/gi, '>');
|
||||
|
||||
// description
|
||||
if(data.description && data.description.length > 50) {
|
||||
data.description = '<span title="'+data.description+'">' + data.description.substr(0,50) + '...</span>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user