See ChangeLog

Monotone-Parent: 9e1649b38d7b35c48bc95fdbaa0ed062a6046495
Monotone-Revision: 7605704028eff50386f4f9c1e4e93aa47eea31c3

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-09-17T13:55:22
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2012-09-17 13:55:22 +00:00
parent 0da9573834
commit ec2e71090e
22 changed files with 51 additions and 40 deletions

View File

@ -1,4 +1,9 @@
2012-09-13 Ludovic Marcotte <lmarcotte@inverse.ca>
2012-09-16 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/dtree.js (s): when selecting a node,
also select the parent so the entire row is highlighted.
2012-09-13 Ludovic Marcotte <lmarcotte@inverse.ca>
* Fixed bug #1942. We now set the app name to "SOGo"
for the Samba/OpenChange application so wox are properly

2
NEWS
View File

@ -5,6 +5,8 @@ New Features
Enhancements
- calendars list and mini-calendar are now always visible
- tasks list has moved to a table in a tabs view along the events list
- rows in tree view are now 4 pixels taller
- node selection in trees now highlights entire row
Bug Fixes

View File

@ -45,15 +45,15 @@ function buildUsersTree(treeDiv, response) {
d.icon.folder = ResourcesURL + '/tbtv_leaf_corner_17x17.png';
d.icon.folderOpen = ResourcesURL + '/tbtv_leaf_corner_17x17.png';
d.icon.node = ResourcesURL + '/tbtv_leaf_corner_17x17.png';
d.icon.line = ResourcesURL + '/tbtv_line_17x17.gif';
d.icon.join = ResourcesURL + '/tbtv_junction_17x17.gif';
d.icon.joinBottom = ResourcesURL + '/tbtv_corner_17x17.gif';
d.icon.plus = ResourcesURL + '/tbtv_plus_17x17.gif';
d.icon.plusBottom = ResourcesURL + '/tbtv_corner_plus_17x17.gif';
d.icon.minus = ResourcesURL + '/tbtv_minus_17x17.gif';
d.icon.minusBottom = ResourcesURL + '/tbtv_corner_minus_17x17.gif';
d.icon.nlPlus = ResourcesURL + '/tbtv_corner_plus_17x17.gif';
d.icon.nlMinus = ResourcesURL + '/tbtv_corner_minus_17x17.gif';
d.icon.line = ResourcesURL + '/tbtv_line_17x22.png';
d.icon.join = ResourcesURL + '/tbtv_junction_17x22.png';
d.icon.joinBottom = ResourcesURL + '/tbtv_corner_17x22.png';
d.icon.plus = ResourcesURL + '/tbtv_plus_17x22.png';
d.icon.plusBottom = ResourcesURL + '/tbtv_corner_plus_17x22.png';
d.icon.minus = ResourcesURL + '/tbtv_minus_17x22.png';
d.icon.minusBottom = ResourcesURL + '/tbtv_corner_minus_17x22.png';
d.icon.nlPlus = ResourcesURL + '/tbtv_corner_plus_17x22.png';
d.icon.nlMinus = ResourcesURL + '/tbtv_corner_minus_17x22.png';
d.icon.empty = ResourcesURL + '/empty.gif';
d.preload ();
d.add(0, -1, '');

View File

@ -1930,10 +1930,8 @@ function refreshContacts() {
function openInbox(node) {
var done = false;
openMailbox(node.parentNode.getAttribute("dataname"), false);
var tree = $("mailboxTree");
tree.selectedEntry = node;
node.selectElement();
mailboxTree.o(1);
mailboxTree.s(2);
}
function initMailer(event) {
@ -2027,15 +2025,15 @@ function initMailboxTree() {
mailboxTree.icon.folder = ResourcesURL + "/tbtv_leaf_corner_17x17.png";
mailboxTree.icon.folderOpen = ResourcesURL + "/tbtv_leaf_corner_17x17.png";
mailboxTree.icon.node = ResourcesURL + "/tbtv_leaf_corner_17x17.png";
mailboxTree.icon.line = ResourcesURL + "/tbtv_line_17x17.gif";
mailboxTree.icon.join = ResourcesURL + "/tbtv_junction_17x17.gif";
mailboxTree.icon.joinBottom = ResourcesURL + "/tbtv_corner_17x17.gif";
mailboxTree.icon.plus = ResourcesURL + "/tbtv_plus_17x17.gif";
mailboxTree.icon.plusBottom = ResourcesURL + "/tbtv_corner_plus_17x17.gif";
mailboxTree.icon.minus = ResourcesURL + "/tbtv_minus_17x17.gif";
mailboxTree.icon.minusBottom = ResourcesURL + "/tbtv_corner_minus_17x17.gif";
mailboxTree.icon.nlPlus = ResourcesURL + "/tbtv_corner_plus_17x17.gif";
mailboxTree.icon.nlMinus = ResourcesURL + "/tbtv_corner_minus_17x17.gif";
mailboxTree.icon.line = ResourcesURL + "/tbtv_line_17x22.png";
mailboxTree.icon.join = ResourcesURL + "/tbtv_junction_17x22.png";
mailboxTree.icon.joinBottom = ResourcesURL + "/tbtv_corner_17x22.png";
mailboxTree.icon.plus = ResourcesURL + "/tbtv_plus_17x22.png";
mailboxTree.icon.plusBottom = ResourcesURL + "/tbtv_corner_plus_17x22.png";
mailboxTree.icon.minus = ResourcesURL + "/tbtv_minus_17x22.png";
mailboxTree.icon.minusBottom = ResourcesURL + "/tbtv_corner_minus_17x22.png";
mailboxTree.icon.nlPlus = ResourcesURL + "/tbtv_corner_plus_17x22.png";
mailboxTree.icon.nlMinus = ResourcesURL + "/tbtv_corner_minus_17x22.png";
mailboxTree.icon.empty = ResourcesURL + "/empty.gif";
mailboxTree.preload ();

View File

@ -69,15 +69,15 @@ function buildUsersTree(treeDiv, response) {
d.icon.folder = ResourcesURL + '/tbtv_leaf_corner_17x17.png';
d.icon.folderOpen = ResourcesURL + '/tbtv_leaf_corner_17x17.png';
d.icon.node = ResourcesURL + '/tbtv_leaf_corner_17x17.png';
d.icon.line = ResourcesURL + '/tbtv_line_17x17.gif';
d.icon.join = ResourcesURL + '/tbtv_junction_17x17.gif';
d.icon.joinBottom = ResourcesURL + '/tbtv_corner_17x17.gif';
d.icon.plus = ResourcesURL + '/tbtv_plus_17x17.gif';
d.icon.plusBottom = ResourcesURL + '/tbtv_corner_plus_17x17.gif';
d.icon.minus = ResourcesURL + '/tbtv_minus_17x17.gif';
d.icon.minusBottom = ResourcesURL + '/tbtv_corner_minus_17x17.gif';
d.icon.nlPlus = ResourcesURL + '/tbtv_corner_plus_17x17.gif';
d.icon.nlMinus = ResourcesURL + '/tbtv_corner_minus_17x17.gif';
d.icon.line = ResourcesURL + '/tbtv_line_17x22.png';
d.icon.join = ResourcesURL + '/tbtv_junction_17x22.png';
d.icon.joinBottom = ResourcesURL + '/tbtv_corner_17x22.png';
d.icon.plus = ResourcesURL + '/tbtv_plus_17x22.png';
d.icon.plusBottom = ResourcesURL + '/tbtv_corner_plus_17x22.png';
d.icon.minus = ResourcesURL + '/tbtv_minus_17x22.png';
d.icon.minusBottom = ResourcesURL + '/tbtv_corner_minus_17x22.png';
d.icon.nlPlus = ResourcesURL + '/tbtv_corner_plus_17x22.png';
d.icon.nlMinus = ResourcesURL + '/tbtv_corner_minus_17x22.png';
d.icon.empty = ResourcesURL + '/empty.gif';
d.preload ();
d.add(0, -1, '');

View File

@ -12,7 +12,7 @@
.dtree img
{
vertical-align: top;
vertical-align: middle;
border: 0px;
padding: 0px;
margin: 0px;
@ -29,6 +29,7 @@
{
white-space: nowrap;
padding: 1px 2px;
line-height: 2em;
}
.dtree a.node:hover
@ -41,5 +42,8 @@
overflow: hidden;
}
DIV.dTreeNode
{ height: 18px; }
.dTreeNode
{ height: 22px; }
.dTreeNode._selected
{ background-color: #9ABCD8; }

View File

@ -277,9 +277,11 @@ dTree.prototype = {
if (this.selectedNode || this.selectedNode==0) {
eOld = document.getElementById("s" + this.obj + this.selectedNode);
eOld.deselect();
eOld.parentNode.removeClassName('_selected');
}
eNew = document.getElementById("s" + this.obj + id);
eNew.selectElement();
eNew.parentNode.addClassName('_selected');
this.selectedNode = id;
if (this.config.useCookies) this.setCookie('cs' + this.obj, cn.id);
}

View File

@ -506,9 +506,7 @@ DIV.noJavascriptErrorMessage A
margin: 0px auto; }
LI.denied
{ n0background-color: #fefefe;
font-style: italic;
color: #f33; }
{ color: #999; }
.popupMenu LI:hover,
.popupMenu LI.selected,
@ -526,14 +524,14 @@ LI._selected.denied
}
.hidden
{ visibility: hidden; }
{ display: none; }
/* folder tree (js) )*/
DIV.dTreeNode A SPAN.nodeName
{
margin: 0px .2em;
padding-left: .2em;
padding-right: .2em;
padding: 0px .2em;
display: inline-block;
}
DIV.dTreeNode A._selected SPAN.nodeName
@ -554,6 +552,8 @@ DIV.dTreeNode SPAN._dragOver
{
background-color: #9ABCD8 !important;
color: #fff !important;
-webkit-border-radius: 4px;
border-radius: 4px;
}
/* resizable columns */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B