function isEnableHotkeyCanBeChecked(enableHotkeyCheckbox) {
        var jqFieldset = $(enableHotkeyCheckbox).parent().parent();
        return jqFieldset.find('.hotkey-modifier:checked').size() > 0 && /* at least one modifier should be checked */
            jqFieldset.find('.key').val().length == 1; // the input for key shouldn't be empty
    }
/**
     * Checks whether passed enable hotkey checkbox can be checked
     * (it depends on corresponding modifiers and input for key)
     */
Checks whether passed enable hotkey checkbox can be checked
(it depends on corresponding modifiers and input for key)
Checks whether passed enable hotkey checkbox can be checked ( it depends on corresponding modifiers and input for key )
function isEnableHotkeyCanBeChecked(enableHotkeyCheckbox) {
        var jqFieldset = $(enableHotkeyCheckbox).parent().parent();
        return jqFieldset.find('.hotkey-modifier:checked').size() > 0 && 
            jqFieldset.find('.key').val().length == 1; 
    }
function isEnableHotkeyCanBeChecked ( enableHotkeyCheckbox ) { var jqFieldset = $ ( enableHotkeyCheckbox ) . parent ( ) . parent ( ) ; return jqFieldset . find ( '.hotkey-modifier:checked' ) . size ( ) > 0 && jqFieldset . find ( '.key' ) . val ( ) . length == 1 ; }
Checks whether passed enable hotkey checkbox can be checked
 (it depends on corresponding modifiers and input for key)
Checks whether passed enable hotkey checkbox can be checked ( it depends on corresponding modifiers and input for key )
/* at least one modifier should be checked */ // the input for key shouldn't be empty