See ChangeLog.
Monotone-Parent: e95efe8673a67dc9bd15ec54ca217af1e21e9dbb Monotone-Revision: f0aff6d064b474daad4423a6fe416a4b18b4ab7c Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-03-29T17:47:28maint-2.0.2
parent
f63d9336b5
commit
97bc9be439
|
@ -1,3 +1,11 @@
|
||||||
|
2012-03-29 Francis Lachapelle <flachapelle@inverse.ca>
|
||||||
|
|
||||||
|
* UI/WebServerResources/ContactsUI.js (startDragging): create an
|
||||||
|
overlapping safety block (div) to avoid possible selection of the
|
||||||
|
underlying text.
|
||||||
|
|
||||||
|
* UI/WebServerResources/MailerUI.js (startDragging): idem.
|
||||||
|
|
||||||
2012-03-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2012-03-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
* OpenChange/MAPIStoreTasksMessage.m (-save): take PR_HTML as
|
* OpenChange/MAPIStoreTasksMessage.m (-save): take PR_HTML as
|
||||||
|
|
9
NEWS
9
NEWS
|
@ -1,3 +1,12 @@
|
||||||
|
1.3.15 (2012-04-DD)
|
||||||
|
-------------------
|
||||||
|
New Features
|
||||||
|
-
|
||||||
|
Enhancements
|
||||||
|
-
|
||||||
|
Bug Fixes
|
||||||
|
-
|
||||||
|
|
||||||
1.3.14 (2012-03-23)
|
1.3.14 (2012-03-23)
|
||||||
-------------------
|
-------------------
|
||||||
Enhancements
|
Enhancements
|
||||||
|
|
|
@ -26,9 +26,7 @@ DIV#rightPanel
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
overflow: hidden;
|
overflow: hidden; }
|
||||||
-moz-user-select: none;
|
|
||||||
-khtml-user-select: none; }
|
|
||||||
|
|
||||||
/* top list */
|
/* top list */
|
||||||
DIV#contactsListContent
|
DIV#contactsListContent
|
||||||
|
@ -41,9 +39,7 @@ DIV#contactsListContent
|
||||||
height: 15.5em;
|
height: 15.5em;
|
||||||
border-left: 1px solid #9B9B9B;
|
border-left: 1px solid #9B9B9B;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden; }
|
||||||
-moz-user-select: none;
|
|
||||||
-khtml-user-select: none; }
|
|
||||||
|
|
||||||
.aptview_text
|
.aptview_text
|
||||||
{
|
{
|
||||||
|
|
|
@ -148,8 +148,6 @@ function contactsListCallback(http) {
|
||||||
cell.appendChild(document.createTextNode(contact["c_telephonenumber"]));
|
cell.appendChild(document.createTextNode(contact["c_telephonenumber"]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configureDraggables();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove unnecessary rows
|
// Remove unnecessary rows
|
||||||
|
@ -1510,7 +1508,7 @@ function configureDroppables() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function currentFolderIsRemote () {
|
function currentFolderIsRemote() {
|
||||||
rc = false;
|
rc = false;
|
||||||
var selectedFolders = $("contactFolders").getSelectedNodes();
|
var selectedFolders = $("contactFolders").getSelectedNodes();
|
||||||
if (selectedFolders.length > 0) {
|
if (selectedFolders.length > 0) {
|
||||||
|
@ -1520,7 +1518,7 @@ function currentFolderIsRemote () {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
function startDragging (itm, e) {
|
function startDragging(itm, e) {
|
||||||
if (!Event.isLeftClick(e))
|
if (!Event.isLeftClick(e))
|
||||||
return;
|
return;
|
||||||
var target = Event.element(e);
|
var target = Event.element(e);
|
||||||
|
@ -1528,6 +1526,19 @@ function startDragging (itm, e) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$("contactsListContent").setStyle({ overflow: "visible" });
|
$("contactsListContent").setStyle({ overflow: "visible" });
|
||||||
|
|
||||||
|
// Create overlapping safety block to avoid selection issues
|
||||||
|
var rightSafetyBlock = $("rightSafetyBlock");
|
||||||
|
if (!rightSafetyBlock) {
|
||||||
|
rightSafetyBlock = new Element('div', {'id': 'rightSafetyBlock', 'class': 'safetyBlock'});
|
||||||
|
document.body.appendChild(rightSafetyBlock);
|
||||||
|
}
|
||||||
|
var rightBlock = $("rightPanel");
|
||||||
|
rightSafetyBlock.setStyle({
|
||||||
|
top: rightBlock.getStyle('top'),
|
||||||
|
left: rightBlock.getStyle('left') });
|
||||||
|
rightSafetyBlock.show();
|
||||||
|
|
||||||
var handle = $("dragDropVisual");
|
var handle = $("dragDropVisual");
|
||||||
var contacts = $('contactsList').getSelectedRowsId();
|
var contacts = $('contactsList').getSelectedRowsId();
|
||||||
var count = contacts.length;
|
var count = contacts.length;
|
||||||
|
@ -1546,16 +1557,19 @@ function startDragging (itm, e) {
|
||||||
handle.show();
|
handle.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
function whileDragging (itm, e) {
|
function whileDragging(itm, e) {
|
||||||
var handle = $("dragDropVisual");
|
if (e) {
|
||||||
if (e.shiftKey || currentFolderIsRemote ())
|
var handle = $("dragDropVisual");
|
||||||
handle.addClassName ("copy");
|
if (e.shiftKey || currentFolderIsRemote())
|
||||||
else if (handle.hasClassName ("copy"))
|
handle.addClassName ("copy");
|
||||||
handle.removeClassName ("copy");
|
else if (handle.hasClassName ("copy"))
|
||||||
|
handle.removeClassName ("copy");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function stopDragging () {
|
function stopDragging () {
|
||||||
$("contactsListContent").setStyle({ overflow: "auto", overflowX: "hidden" });
|
$("contactsListContent").setStyle({ overflow: "auto", overflowX: "hidden" });
|
||||||
|
$("rightSafetyBlock").hide();
|
||||||
var handle = $("dragDropVisual");
|
var handle = $("dragDropVisual");
|
||||||
handle.hide();
|
handle.hide();
|
||||||
if (handle.hasClassName ("copy"))
|
if (handle.hasClassName ("copy"))
|
||||||
|
|
|
@ -40,9 +40,7 @@ DIV#rightPanel
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
overflow: hidden;
|
overflow: hidden; }
|
||||||
-moz-user-select: none;
|
|
||||||
-khtml-user-select: none; }
|
|
||||||
|
|
||||||
/* top list */
|
/* top list */
|
||||||
DIV#mailboxContent
|
DIV#mailboxContent
|
||||||
|
|
|
@ -2954,7 +2954,7 @@ function configureDroppables() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function startDragging (itm, e) {
|
function startDragging(itm, e) {
|
||||||
if (!Event.isLeftClick(e))
|
if (!Event.isLeftClick(e))
|
||||||
return;
|
return;
|
||||||
var target = Event.element(e);
|
var target = Event.element(e);
|
||||||
|
@ -2962,6 +2962,18 @@ function startDragging (itm, e) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$("mailboxList").setStyle({ overflow: "visible" });
|
$("mailboxList").setStyle({ overflow: "visible" });
|
||||||
|
|
||||||
|
// Create overlapping safety block to avoid selection issues
|
||||||
|
var rightSafetyBlock = $("rightSafetyBlock");
|
||||||
|
if (!rightSafetyBlock) {
|
||||||
|
rightSafetyBlock = new Element('div', {'id': 'rightSafetyBlock', 'class': 'safetyBlock'});
|
||||||
|
document.body.appendChild(rightSafetyBlock);
|
||||||
|
}
|
||||||
|
var rightBlock = $("rightPanel");
|
||||||
|
rightSafetyBlock.setStyle({
|
||||||
|
top: rightBlock.getStyle('top'),
|
||||||
|
left: rightBlock.getStyle('left') });
|
||||||
|
rightSafetyBlock.show();
|
||||||
|
|
||||||
var row = target.up('TR');
|
var row = target.up('TR');
|
||||||
var handle = $("dragDropVisual");
|
var handle = $("dragDropVisual");
|
||||||
|
@ -2988,7 +3000,7 @@ function startDragging (itm, e) {
|
||||||
handle.show();
|
handle.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
function whileDragging (itm, e) {
|
function whileDragging(itm, e) {
|
||||||
if (e) {
|
if (e) {
|
||||||
var handle = $("dragDropVisual");
|
var handle = $("dragDropVisual");
|
||||||
if (e.shiftKey)
|
if (e.shiftKey)
|
||||||
|
@ -3000,6 +3012,7 @@ function whileDragging (itm, e) {
|
||||||
|
|
||||||
function stopDragging() {
|
function stopDragging() {
|
||||||
$("mailboxList").setStyle({ overflow: "auto", overflowX: "hidden" });
|
$("mailboxList").setStyle({ overflow: "auto", overflowX: "hidden" });
|
||||||
|
$("rightSafetyBlock").hide();
|
||||||
var handle = $("dragDropVisual");
|
var handle = $("dragDropVisual");
|
||||||
handle.hide();
|
handle.hide();
|
||||||
if (handle.hasClassName("copy"))
|
if (handle.hasClassName("copy"))
|
||||||
|
|
|
@ -15,9 +15,7 @@ DIV#rightPanel
|
||||||
right: 0px;
|
right: 0px;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
overflow: hidden;
|
overflow: hidden; }
|
||||||
-moz-user-select: text;
|
|
||||||
-khtml-user-select: text; }
|
|
||||||
|
|
||||||
DIV#hiddenDragHandle
|
DIV#hiddenDragHandle
|
||||||
{ cursor: e-resize;
|
{ cursor: e-resize;
|
||||||
|
|
Loading…
Reference in New Issue