Rename server_status_advisor.js vars to use camel case

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2019-05-29 18:44:21 -03:00
parent cd3985120b
commit 3c972ed831

View File

@ -67,13 +67,13 @@ AJAX.registerOnload('server_status_advisor.js', function () {
'</th></tr></thead><tbody></tbody></table>');
$tbody = $cnt.find('table#rulesFired');
var rc_stripped;
var rcStripped;
$.each(data.run.fired, function (key, value) {
// recommendation may contain links, don't show those in overview table (clicking on them redirects the user)
rc_stripped = $.trim($('<div>').html(value.recommendation).text());
rcStripped = $.trim($('<div>').html(value.recommendation).text());
$tbody.append($tr = $('<tr class="linkElem noclick"><td>' +
value.issue + '</td><td>' + rc_stripped + ' </td></tr>'));
value.issue + '</td><td>' + rcStripped + ' </td></tr>'));
even = !even;
$tr.data('rule', value);