plugins/calendar
Thomas Brüderli
bruederli at kolabsys.com
Wed Aug 13 16:40:13 CEST 2014
plugins/calendar/skins/larry/templates/calendar.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d892b78025abfe22a64bd41b88caf77d9fc5e7e1
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Wed Aug 13 16:40:06 2014 +0200
Fix expanding calendar sidebar after page reload
diff --git a/plugins/calendar/skins/larry/templates/calendar.html b/plugins/calendar/skins/larry/templates/calendar.html
index 275725c..f45b5af 100644
--- a/plugins/calendar/skins/larry/templates/calendar.html
+++ b/plugins/calendar/skins/larry/templates/calendar.html
@@ -363,7 +363,7 @@ $(document).ready(function(e){
UI.init();
new calendarview_splitter({ id:'calsidebarsplitter', p1:'#calendarsidebar', p2:'#calendar',
- orientation:'v', relative:true, start:270, min:240, size:12, offset:0 });
+ orientation:'v', relative:true, start:280, min:260, size:12, offset:0 });
new rcube_splitter({ id:'calresourceviewsplitter', p1:'#resource-dialog-left', p2:'#resource-dialog-right',
orientation:'v', relative:true, start:380, min:220, size:10, offset:-3 }).init();
@@ -494,7 +494,7 @@ function calendarview_splitter(p)
{
var me = this, time = 250;
this.handle.removeClass('sidebarclosed');
- this.pos = this.lastpos || this._min;
+ this.pos = this.lastpos > 0 ? this.lastpos : this._min;
this.p1pos.left = 10;
this.p1.show().animate({ left:'10px', width:(this.pos - this.p1pos.left - this.halfsize) + 'px' }, time);
this.p2.animate({ left:(this.pos + this.halfsize) + 'px' }, time, function(){ me.resize(); });
More information about the commits
mailing list