mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
- Fix clicking on month labels in planner monthly view opens add dialog
- Keep AJAX loading spinner up until done
This commit is contained in:
parent
43f65b81e5
commit
80a7a121ed
@ -2850,9 +2850,8 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
app.calendar._fetch_data(state, instance, start + data.order.length);
|
||||
}, 100);
|
||||
}
|
||||
|
||||
// Hide AJAX loader
|
||||
if(typeof framework !== 'undefined')
|
||||
else if(typeof framework !== 'undefined')
|
||||
{
|
||||
framework.applications.calendar.sidemenuEntry.hideAjaxLoader();
|
||||
}
|
||||
|
@ -702,7 +702,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
||||
this.widget.update_timer = null;
|
||||
this.widget.doInvalidate = true;
|
||||
|
||||
window.setTimeout(jQuery.proxy(function() {if(this.loader) this.loader.hide();},this.widget),100);
|
||||
window.setTimeout(jQuery.proxy(function() {if(this.loader) this.loader.hide();},this.widget),500);
|
||||
},{widget:this,"trigger":trigger}),ET2_GRID_INVALIDATE_TIMEOUT);
|
||||
},
|
||||
|
||||
@ -1779,7 +1779,8 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
||||
}
|
||||
return result;
|
||||
}
|
||||
else if (this.gridHeader.has(_ev.target).length > 0 && !jQuery.isEmptyObject(_ev.target.dataset))
|
||||
else if (this.gridHeader.has(_ev.target).length > 0 && !jQuery.isEmptyObject(_ev.target.dataset) ||
|
||||
$j(_ev.target).hasClass('calendar_plannerRowHeader') && !jQuery.isEmptyObject(_ev.target.dataset))
|
||||
{
|
||||
// Click on a header, we can go there
|
||||
_ev.data = jQuery.extend({},_ev.target.parentNode.dataset, _ev.target.dataset);
|
||||
|
Loading…
Reference in New Issue
Block a user