Skip to content

Instantly share code, notes, and snippets.

@frah
frah / gist:5a91b2feb5a511608eecc30d9ac79297
Last active January 20, 2017 09:24 — forked from onozaty/gist:a684d5e8087f03bc20c6
Better checkbox field by Redmine view customize plugin(トラッカー変更対応版)
// Path pattern: /issues/
// Type : JavaScript
$(function() {
var ec_observer = new MutationObserver(function() {enhance_checkbox()});
var ec_target = document.getElementById('all_attributes');
ec_observer.observe(ec_target, { attributes: false, childList: true, characterData: false });
function enhance_checkbox() {
$('.check_box_group')
.each(function() {