Skip to content
Snippets Groups Projects
Commit fe3f47e3 authored by Patrick Barroca's avatar Patrick Barroca
Browse files

dev #14409 filters in calendar box

when changing filter, edit article button works
parent b298df36
2 merge requests!529Hotline 6.56,!407Dev/14409 filters in calendar box
......@@ -13,7 +13,7 @@ var ajaxify_calendars = function () {
url = $(this).jqmData('href');
$(this).closest(".contenu").load(url+'/render/ajax',
ajaxify_calendars);
ajaxify_calendars);
event.preventDefault();
});
......@@ -22,26 +22,27 @@ var ajaxify_calendars = function () {
event.preventDefault();
});
$('.calendar').bind('swiperight',
function () {
$("a.calendar_title_month_clickable:first-child").click();
});
$('.calendar').bind('swiperight',
function () {
$("a.calendar_title_month_clickable:first-child").click();
});
$('.calendar').bind('swipeleft',
function () {
$("a.calendar_title_month_clickable:last-child").click();
});
function () {
$("a.calendar_title_month_clickable:last-child").click();
});
$("form#calendar_select_categorie").change(function(event) {
var url = $(this).attr('action');
$(this).closest(".calendar").load(url,
{'select_id_categorie':$(this).children('select').val(),
'id_module':$(this).children('input').val()},
ajaxify_calendars);
{'select_id_categorie':$(this).children('select').val(),
'id_module':$(this).children('input').val()},
ajaxify_calendars);
});
$('.auto_resize').removeClass('auto_resize');
initializePopups();
if (undefined != window.calendrierAfterLoad)
calendrierAfterLoad();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment