See ChangeLog.

Monotone-Parent: 482498d8717f020bae6132b015e69ae97d3e30aa
Monotone-Revision: fc82f5d2ff1a83e0f7d507e8ab1bb5149bbbec24

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-03-13T16:17:07
maint-2.0.2
Francis Lachapelle 2012-03-13 16:17:07 +00:00
parent 64c5c5f624
commit a1d356e4c0
6 changed files with 36 additions and 13 deletions

View File

@ -1,5 +1,10 @@
2012-03-13 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/ContactsUI.js (configureDraggables):
increased the delay before starting drag and drop.
* UI/WebServerResources/MailerUI.js (configureDraggables): idem.
* UI/WebServerResources/UIxAclEditor.js (addUser): fixed
positioning of new user.

8
NEWS
View File

@ -11,6 +11,8 @@ New Features
Enhancements
- bundled a shell script to perform and manage backups using sogo-tool
- increased the delay before starting drag and drop in Mail and Contacts module
to improve the user experience with cheap mouses
Bug Fixes
- fixed escaping issue with PostgreSQL 8.1
@ -18,6 +20,12 @@ Bug Fixes
- fixed Spanish (Argentina) templates for mail reply and forward
- we don't show public address books (from SOGoUserSources) on iOS 5.0.1
1.3.12c (2012-02-15)
-------------------
Bug Fixes
- fixed a possible crash when using a SQL source
1.3.12b (2012-02-14)
-------------------

View File

@ -27,7 +27,8 @@ DIV#rightPanel
right: 0px;
bottom: 0px;
overflow: hidden;
}
-moz-user-select: none;
-khtml-user-select: none; }
/* top list */
DIV#contactsListContent

View File

@ -768,6 +768,7 @@ function onAddressBookExport(event) {
window.location.href = url;
event.stop();
hideMenu(document.currentPopupMenu);
}
function onAddressBookImport(event) {
@ -1480,19 +1481,19 @@ function configureDraggables() {
Draggables.empty();
if (mainElement == null) {
mainElement = new Element ("div", {id: "dragDropVisual"});
mainElement = new Element("div", {id: "dragDropVisual"});
document.body.appendChild(mainElement);
mainElement.absolutize();
}
mainElement.hide();
new Draggable ("dragDropVisual",
{ handle: "contactsList",
onStart: startDragging,
onEnd: stopDragging,
onDrag: whileDragging,
scroll: window
});
new Draggable("dragDropVisual",
{ handle: "contactsList",
onStart: startDragging,
onEnd: stopDragging,
onDrag: whileDragging,
scroll: window,
delay: 250 });
}
}
@ -1523,7 +1524,8 @@ function startDragging (itm, e) {
var target = Event.element(e);
if (target.up().up().tagName != "TBODY")
return false;
$("contactsListContent").setStyle({ overflow: "visible" });
var handle = $("dragDropVisual");
var contacts = $('contactsList').getSelectedRowsId();
var count = contacts.length;
@ -1551,6 +1553,7 @@ function whileDragging (itm, e) {
}
function stopDragging () {
$("contactsListContent").setStyle({ overflow: "auto" });
var handle = $("dragDropVisual");
handle.hide();
if (handle.hasClassName ("copy"))

View File

@ -40,7 +40,9 @@ DIV#rightPanel
margin: 0px;
margin-left: 5px;
padding: 0px;
overflow: hidden; }
overflow: hidden;
-moz-user-select: none;
-khtml-user-select: none; }
/* top list */
DIV#mailboxContent

View File

@ -2928,7 +2928,7 @@ function configureDraggables() {
onEnd: stopDragging,
onDrag: whileDragging,
scroll: "folderTreeContent",
delay: 100 });
delay: 250 });
}
function configureDroppables() {
@ -2961,6 +2961,8 @@ function startDragging (itm, e) {
if (target.up('TBODY') == undefined)
return;
$("mailboxList").setStyle({ overflow: "visible" });
var row = target.up('TR');
var handle = $("dragDropVisual");
var selectedIds = $("messageListBody").getSelectedRowsId();
@ -2996,7 +2998,9 @@ function whileDragging (itm, e) {
}
}
function stopDragging () {
function stopDragging() {
console.info("stop dragging");
$("mailboxList").setStyle({ overflow: "auto" });
var handle = $("dragDropVisual");
handle.hide();
if (handle.hasClassName("copy"))