See Changelog

Monotone-Parent: 0c176852c57ca5f012fd36464ced594b6ef6c9fb
Monotone-Revision: f98db9e0d0c41fc50f243d8f21ff421712d14518

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-11-08T16:28:50
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2010-11-08 16:28:50 +00:00
parent d720675edf
commit 3dbf39d548
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-11-08 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/SOGoDragHandles.js (adjust): for vertical
drag handles, prioritize the top limit rather than the bottom one.
2010-11-05 Francis Lachapelle <flachapelle@inverse.ca> 2010-11-05 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailListActions.m (-getSortedUIDsAction): now * UI/MailerUI/UIxMailListActions.m (-getSortedUIDsAction): now

View file

@ -39,8 +39,10 @@ var SOGoDragHandlesInterface = {
} }
} }
else if (this.dhType == 'vertical') { else if (this.dhType == 'vertical') {
this.dhLimit = window.height() - 20 - this.upperBlock.cumulativeOffset()[1] + this.upperBlock.offsetTop; var windowHeight = window.height();
if (parseInt(this.getStyle("top")) > this.dhLimit) { this.dhLimit = windowHeight - 20 - this.upperBlock.cumulativeOffset().top + this.upperBlock.offsetTop;
if (parseInt(this.getStyle("top")) > this.dhLimit &&
windowHeight > this.topMargin) {
this.setStyle({ top: this.dhLimit + 'px' }); this.setStyle({ top: this.dhLimit + 'px' });
this.lowerBlock.setStyle({ top: this.dhLimit + 'px' }); this.lowerBlock.setStyle({ top: this.dhLimit + 'px' });
this.upperBlock.setStyle({ height: (this.dhLimit - this.upperBlock.offsetTop) + 'px' }); this.upperBlock.setStyle({ height: (this.dhLimit - this.upperBlock.offsetTop) + 'px' });