mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 23:55:34 +00:00
merge of '0bc570e01ac30760257738a29e0d780e964f4a8a'
and '59c71248aa4b7df383ccdc570db26b7c829d9378' Monotone-Parent: 0bc570e01ac30760257738a29e0d780e964f4a8a Monotone-Parent: 59c71248aa4b7df383ccdc570db26b7c829d9378 Monotone-Revision: 86480ce562df131383c834ebb7c0a2f353871e18 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-03-07T05:07:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -256,8 +256,8 @@ function openMailTo(senderMailTo) {
|
||||
|
||||
if (mailto.length > 0)
|
||||
openMailComposeWindow(ApplicationBaseURL
|
||||
+ "../Mail/compose?mailto=" + mailto
|
||||
+ ((subject.length > 0)?"?subject="+subject:""));
|
||||
+ "../Mail/compose?mailto=" + encodeURI(mailto)
|
||||
+ ((subject.length > 0)?"?subject=" + encodeURI(subject):""));
|
||||
|
||||
return false; /* stop following the link */
|
||||
}
|
||||
@@ -592,6 +592,7 @@ function onRowClick(event) {
|
||||
$(node.parentNode).selectRange(lastClickedRow, rowIndex);
|
||||
} else if (isNodeSelected(node)) {
|
||||
$(node).deselect();
|
||||
rowIndex = null;
|
||||
} else {
|
||||
$(node).selectElement();
|
||||
}
|
||||
@@ -609,7 +610,8 @@ function onRowClick(event) {
|
||||
parentNode.fire("mousedown");
|
||||
}
|
||||
}
|
||||
lastClickedRow = rowIndex;
|
||||
if (rowIndex)
|
||||
lastClickedRow = rowIndex;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user