if ($adjust_for_fit) {
    ?>
				// $root.find(".ipsGroup:not([data-itemkey=visor]):not([data-itemkey=visor_curve])").each(function ()
				// {
					// var $this = $(this);
					// $this.hide(0);
					// $this.find(".IPS_SORTABLE_ITEM .IPS_CHECK_ITEM").attr("checked", "checked");
				// });
			<?php 
}
?>
		
		}
	
		var $root = $("#<?php 
_e(PostMetaManagerHelper::sanitize_css_selector($identifier));
?>
");
		
		$root.find(".IPS_CHECK_ALL").click(function (e)
		{
			e.preventDefault();
			var $this = $(this);
			var $ipsGroup = $this.parents(".IPS_GROUP").first();
			$ipsGroup.find(".IPS_SORTABLE_ITEM .IPS_CHECK_ITEM").attr("checked", "checked");
			ipsUpdateSort();
		});
		
		$root.find(".IPS_UNCHECK_ALL").click(function (e)
		{
			e.preventDefault();