diff --git a/erpnext/support/doctype/issue/issue.js b/erpnext/support/doctype/issue/issue.js index bef8cb4d2b..c1b76e5374 100644 --- a/erpnext/support/doctype/issue/issue.js +++ b/erpnext/support/doctype/issue/issue.js @@ -18,12 +18,12 @@ frappe.ui.form.on("Issue", { }, timeline_refresh: function(frm) { - // create button for "Add to Knowledge Base" + // create button for "Help Article" if(frappe.model.can_create('Help Article')) { - // Removing Knowledge Base button if exists to avoid multiple occurance + // Removing Help Article button if exists to avoid multiple occurance frm.timeline.wrapper.find('.comment-header .asset-details .btn-add-to-kb').remove(); - $('') + $('') .appendTo(frm.timeline.wrapper.find('.comment-header .asset-details')) .on('click', function() { var content = $(this).parents('.timeline-item:first').find('.timeline-item-content').html();