Sha256: 87d8e2b9a59b895b1d0b46fe739f17e82ba8f629ab2809019c8dd5fa477ca820
Contents?: true
Size: 432 Bytes
Versions: 15
Compression:
Stored size: 432 Bytes
Contents
$(function(){ $("#fuel_post_published").on("change", function(){ var val = $(this).val(); var $publishedAtGroup = $("#publishedAtGroup"); var $publishedAt = $publishedAtGroup.find("input#fuel_post_published_at"); if (val == "true"){ $publishedAtGroup.show(); $publishedAt.prop('disabled', false); } else { $publishedAtGroup.hide(); $publishedAt.prop('disabled', true); } }); });
Version data entries
15 entries across 15 versions & 1 rubygems