Fixed 'Comma operator should not be used' issue reported by SonarQube.

This commit is contained in:
Yogesh Mahajan
2020-06-18 16:17:55 +05:30
committed by Akshay Joshi
parent 905be1d894
commit 6d3f13076f
10 changed files with 44 additions and 18 deletions

View File

@@ -479,7 +479,7 @@ define(['sources/gettext', 'underscore', 'jquery', 'backbone', 'backform',
* 3. Deselect and disable the checkbox for ALL with grant privilege.
*/
$allPrivileges.prop('checked', false);
$elGrant.prop('checked', false),
$elGrant.prop('checked', false);
$allGrants.prop('checked', false);
$elGrant.prop('disabled', true);
$allGrants.prop('disabled', true);