mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Stop day view resize while hidden - it gets the size wrong.
This commit is contained in:
parent
e4aa767911
commit
106652b2d2
@ -2201,7 +2201,8 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
{
|
||||
if(state.state.view == 'day' && state.state.owner.length === 1 && !isNaN(state.state.owner) && state.state.owner[0] >= 0 && !egwIsMobile())
|
||||
{
|
||||
|
||||
if($j(view.etemplates[0].DOMContainer).is(':visible'))
|
||||
{
|
||||
view.etemplates[0].widgetContainer.iterateOver(function(w) {
|
||||
w.set_width($j(view.etemplates[0].DOMContainer).width() * 0.69);
|
||||
},this,et2_calendar_timegrid);
|
||||
@ -2214,6 +2215,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
},view.etemplates[1].widgetContainer);
|
||||
view.etemplates[0].resize();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$j(app.classes.calendar.views.day.etemplates[1].DOMContainer).show();
|
||||
|
Loading…
Reference in New Issue
Block a user