|
|
@ -1936,7 +1936,7 @@ function rcube_webmail()
|
|
|
|
// add each submitted col
|
|
|
|
// add each submitted col
|
|
|
|
for (n in this.env.listcols) {
|
|
|
|
for (n in this.env.listcols) {
|
|
|
|
c = this.env.listcols[n];
|
|
|
|
c = this.env.listcols[n];
|
|
|
|
col = { className: String(c).toLowerCase() };
|
|
|
|
col = {className: String(c).toLowerCase(), events:{}};
|
|
|
|
|
|
|
|
|
|
|
|
if (this.env.coltypes[c] && this.env.coltypes[c].hidden) {
|
|
|
|
if (this.env.coltypes[c] && this.env.coltypes[c].hidden) {
|
|
|
|
col.className += ' hidden';
|
|
|
|
col.className += ' hidden';
|
|
|
@ -1970,11 +1970,8 @@ function rcube_webmail()
|
|
|
|
else if (c == 'threads')
|
|
|
|
else if (c == 'threads')
|
|
|
|
html = expando;
|
|
|
|
html = expando;
|
|
|
|
else if (c == 'subject') {
|
|
|
|
else if (c == 'subject') {
|
|
|
|
if (bw.ie) {
|
|
|
|
if (bw.ie)
|
|
|
|
col.onmouseover = function() { rcube_webmail.long_subject_title_ex(this, message.depth+1); };
|
|
|
|
col.events.mouseover = function() { rcube_webmail.long_subject_title_ex(this); };
|
|
|
|
if (bw.ie8)
|
|
|
|
|
|
|
|
tree = '<span></span>' + tree; // #1487821
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
html = tree + cols[c];
|
|
|
|
html = tree + cols[c];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (c == 'priority') {
|
|
|
|
else if (c == 'priority') {
|
|
|
@ -4102,7 +4099,7 @@ function rcube_webmail()
|
|
|
|
li.attr('id', name)
|
|
|
|
li.attr('id', name)
|
|
|
|
.addClass(att.classname)
|
|
|
|
.addClass(att.classname)
|
|
|
|
.html(att.html)
|
|
|
|
.html(att.html)
|
|
|
|
.on('mouseover', function() { rcube_webmail.long_subject_title_ex(this, 0); });
|
|
|
|
.on('mouseover', function() { rcube_webmail.long_subject_title_ex(this); });
|
|
|
|
|
|
|
|
|
|
|
|
// replace indicator's li
|
|
|
|
// replace indicator's li
|
|
|
|
if (upload_id && (indicator = document.getElementById(upload_id))) {
|
|
|
|
if (upload_id && (indicator = document.getElementById(upload_id))) {
|
|
|
@ -7862,7 +7859,7 @@ rcube_webmail.long_subject_title = function(elem, indent)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
rcube_webmail.long_subject_title_ex = function(elem, indent)
|
|
|
|
rcube_webmail.long_subject_title_ex = function(elem)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!elem.title) {
|
|
|
|
if (!elem.title) {
|
|
|
|
var $elem = $(elem),
|
|
|
|
var $elem = $(elem),
|
|
|
@ -7874,7 +7871,7 @@ rcube_webmail.long_subject_title_ex = function(elem, indent)
|
|
|
|
w = tmp.width();
|
|
|
|
w = tmp.width();
|
|
|
|
|
|
|
|
|
|
|
|
tmp.remove();
|
|
|
|
tmp.remove();
|
|
|
|
if (w + indent * 15 > $elem.width())
|
|
|
|
if (w + $('span.branch', $elem).width() * 15 > $elem.width())
|
|
|
|
elem.title = txt;
|
|
|
|
elem.title = txt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|