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

Merge branch 'hotline#18602_calendar_config_icon_disappear' into 'stable'

Hotline#18602 calendar config icon disappear

See merge request !712
parents 734553d2 fd24238c
Branches
Tags
4 merge requests!780Master,!740Master,!739Hotline master,!738Stable
ticket #18602: Correction du rendu ajax du calendrier (La clé de configuration disparaissait).
......@@ -12,7 +12,13 @@ var ajaxify_calendars = function () {
if (url == '#')
url = $(this).jqmData('href');
$(this).closest(".contenu").load(url+'/render/ajax',
// JQuery allows to put selector in url parameter
// of load() method. The purpose is to put content of
// received calendar div into the existing calendar div
// instead of insert another calendar div into the existing.
// This should be tested before removed.
// See http://afi-forge.afi-sa.fr/issues/18602
$(this).closest(".calendar").load(url+'/render/ajax .calendar > *',
ajaxify_calendars);
event.preventDefault();
});
......
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