Sha256: 00666a6b936f7a2d4a9ca638bdb03cfde556d842a91448c9454fcfe99d3bea9b
Contents?: true
Size: 587 Bytes
Versions: 8
Compression:
Stored size: 587 Bytes
Contents
$(document).ready(function() { disableInspectorCheckbox(); $("#all_inspectors").click(function(){ disableInspectorCheckbox(); $("#inspector-form").submit(); }); $("#inspector-form").submit( function() {} ); $("#inspector").change(function() { $("#inspector-form").trigger( 'submit' ); }); $("#case_reference").example_text({example_text: 'e.g. BL123456'}); }); function disableInspectorCheckbox() { if ($("#all_inspectors:checked").length > 0) { $("#inspector").attr("disabled", "disabled"); } else { $("#inspector").removeAttr("disabled"); } }
Version data entries
8 entries across 8 versions & 1 rubygems