Update category for old tickets

pull/1/head
yflory 5 years ago
parent e12d8c5b70
commit f686cd645f

@ -244,7 +244,7 @@ Messages.support_addAttachment = "Add attachment"; // XXX
var url; var url;
if (ctx.isAdmin) { if (ctx.isAdmin) {
ticketCategory = Messages['support_cat_'+(content.category || 'other')] + ' - '; ticketCategory = Messages['support_cat_'+(content.category || 'all')] + ' - ';
url = h('button.btn.btn-primary.fa.fa-clipboard'); url = h('button.btn.btn-primary.fa.fa-clipboard');
$(url).click(function () { $(url).click(function () {
var link = privateData.origin + privateData.pathname + '#' + 'support-' + content.id; var link = privateData.origin + privateData.pathname + '#' + 'support-' + content.id;

Loading…
Cancel
Save