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