Set up options for default turn off system log - Application rules, switch technicians, etc.
Hi,
Can you implement system options for turn off system logs ?
We done simple changes in code, but in oficiall way it will be much better.
edit in -> JS/Utils.js
var loadDeferredStyles = function () {
var addStylesNode = document.getElementById("deferred-styles");
if (!addStylesNode) return;
var replacement = document.createElement("div");
replacement.innerHTML = addStylesNode.textContent;
document.body.appendChild(replacement)
addStylesNode.parentElement.removeChild(addStylesNode);
$('.systemcomment').parent().hide(); // this line for hide system logs
};
edit in View: TicketComentLists
<li><button type="button" title="ShowSystemLog" onclick="$('.systemcomment').parent().show()";><i class="fa fa-minus-square-o"></i></button></li>
New button for enable show systems logs. Hide them is possible with their standard eye button.
Thanks for update.
Regards,
K.M.