mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Calendar: Fix vertical resizing on day view todo list
This commit is contained in:
parent
31b7c49fd3
commit
29e0514d52
@ -2366,7 +2366,7 @@ var CalendarApp = /** @class */ (function (_super) {
|
||||
&& egw.user('apps')['infolog'] && egw.preference('cal_show', 'infolog') !== '0') {
|
||||
// Set width to 70%, otherwise if a scrollbar is needed for the view, it will conflict with the todo list
|
||||
jQuery(CalendarApp.views.day.etemplates[0].DOMContainer).css("width", "70%");
|
||||
jQuery(view.etemplates[1].DOMContainer).css({ "left": "70%", "height": (jQuery(framework.tabsUi.activeTab.contentDiv).height() - 30) + 'px' });
|
||||
jQuery(view.etemplates[1].DOMContainer).css({ "left": "70%", "height": '100%' });
|
||||
// TODO: Maybe some caching here
|
||||
this.egw.jsonq('calendar_uiviews::ajax_get_todos', [state.state.date, state.state.owner[0]], function (data) {
|
||||
this.getWidgetById('label').set_value(data.label || '');
|
||||
|
@ -2714,7 +2714,7 @@ class CalendarApp extends EgwApp
|
||||
{
|
||||
// Set width to 70%, otherwise if a scrollbar is needed for the view, it will conflict with the todo list
|
||||
jQuery((<etemplate2>CalendarApp.views.day.etemplates[0]).DOMContainer).css("width","70%");
|
||||
jQuery(view.etemplates[1].DOMContainer).css({"left":"70%", "height":(jQuery(framework.tabsUi.activeTab.contentDiv).height()-30)+'px'});
|
||||
jQuery(view.etemplates[1].DOMContainer).css({"left":"70%", "height":'100%'});
|
||||
// TODO: Maybe some caching here
|
||||
this.egw.jsonq('calendar_uiviews::ajax_get_todos', [state.state.date, state.state.owner[0]], function(data) {
|
||||
this.getWidgetById('label').set_value(data.label||'');
|
||||
|
Loading…
Reference in New Issue
Block a user