postExpired/js/backend.js

17 lines
476 B
JavaScript
Raw Normal View History

2023-04-24 21:29:08 +00:00
/*global $, dotclear, datePicker */
'use strict';
2021-08-20 19:07:26 +00:00
2023-04-24 21:29:08 +00:00
$(() => {
if (typeof datePicker === 'function') {
2021-08-20 19:07:26 +00:00
var post_pe_field=document.getElementById('post_expired_date');
if(post_pe_field!=undefined){
var post_pe_dtPick=new datePicker(post_pe_field);
post_pe_dtPick.img_top='1.5em';
post_pe_dtPick.draw();
}
2023-04-24 21:29:08 +00:00
}
$('#post_expired h4').toggleWithLegend(
$('#post_expired').children().not('h4'),
{cookie:'dcx_postexpired_admin_form_sidebar',legend_click:true}
);
2021-08-20 19:07:26 +00:00
});