Fixed following SonarQube issues:

1. Method/Field names should comply with a naming convention.
 2. Conditionals should start on new lines
This commit is contained in:
Satish V
2020-06-26 13:32:45 +05:30
committed by Akshay Joshi
parent 5206dafb35
commit 830ac1cc91
7 changed files with 20 additions and 18 deletions

View File

@@ -236,7 +236,8 @@ define('misc.dependents', [
$msgContainer.text(gettext('Failed to retrieve data from the server.'));
});
}
} if (msg != '') {
}
if (msg != '') {
$msgContainer.text(msg);
$msgContainer.removeClass('d-none');
if (!$gridContainer.hasClass('d-none')) {