|
|
|
@ -133,9 +133,13 @@ define([
|
|
|
|
|
'account', // Msg.support_cat_account
|
|
|
|
|
'data', // Msg.support_cat_data
|
|
|
|
|
'bug', // Msg.support_cat_bug
|
|
|
|
|
// XXX report
|
|
|
|
|
'other' // Msg.support_cat_other
|
|
|
|
|
];
|
|
|
|
|
if (all) { categories.push('all'); } // Msg.support_cat_all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
categories = categories.map(function (key) {
|
|
|
|
|
return {
|
|
|
|
|
tag: 'a',
|
|
|
|
@ -174,6 +178,7 @@ define([
|
|
|
|
|
var catContainer = h('div.cp-dropdown-container' + (title ? '.cp-hidden': ''));
|
|
|
|
|
makeCategoryDropdown(ctx, catContainer, function (key) {
|
|
|
|
|
$(category).val(key);
|
|
|
|
|
// XXX add a hint suggesting relevant information to include for the chosen category
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var attachments, addAttachment;
|
|
|
|
|