Support » Plugin: Events Manager » [PATCH] Edit Events front-end page minor jQuery bugfix

  • Resolved Daedalon

    (@daedalon)


    On Edit Events front-end admin page when clicking either one of the checkboxes to select the checkbox on every row, the other select-all checkbox is checked or unchecked properly. The fix is to change includes/js/events-manager.js lines 503-508 from

    $('input.select-all').change(function(){
    	 	if($(this).is(':checked'))
    	 	$('input.row-selector').attr('checked', true);
    	 	else
    	 	$('input.row-selector').attr('checked', false);
    	});

    to

    $('input.select-all').change(function(){
    	 	if($(this).is(':checked')){
    			$('input.row-selector').attr('checked', true);
    			$('input.select-all').attr('checked', true);
    	 	}else{
    			$('input.row-selector').attr('checked', false);
    			$('input.select-all').attr('checked', false);
    		}
    	});

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[PATCH] Edit Events front-end page minor jQuery bugfix’ is closed to new replies.