Sha256: 161c8da04d809f86b9611f3d1c3e7986333550b2784048f42f056c14c55ec0c8
Contents?: true
Size: 960 Bytes
Versions: 18
Compression:
Stored size: 960 Bytes
Contents
jQuery(function($){ var panel = $("#panel-post-visibility"); var link_edit = panel.find(".edit-visibility").click(function(){ panel.find(".panel-options").removeClass("hidden").show(); link_edit.hide(); return false; }); panel.find(".lnk_hide").click(function(){ panel.find(".panel-options").hide(); link_edit.show(); return false; }); panel.find("input[name='post[visibility]']").change(function(){ var label = $(this).closest("label"); panel.find(".visibility_label").html(label.text()); label.siblings("div").hide(); label.next().show(); }).click(function(){ //var label = $(this).closest("label"); //label.siblings("div").hide(); //label.next().show(); }).filter(":checked").trigger("change"); var cal_input = $("#form-post").find('#published_from'); cal_input.datetimepicker({format: 'YYYY-MM-DD HH:mm'}); });
Version data entries
18 entries across 18 versions & 1 rubygems