summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-04 09:11:48 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-04 09:11:48 +0200
commit42574449577bd99b6feb662e1ea1eefb0fb698cc (patch)
tree859671e10d4860b589b7679b4f3d29435582e73d /program
parent0a7df4a32e86a103a5f1fe801374383a195ba1a5 (diff)
Fix "null" instead of empty string on messages list in IE10 (#1489145)
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index bac15f843..f990c8cf8 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1892,7 +1892,8 @@ function rcube_webmail()
else
html = cols[c];
- col.innerHTML = html;
+ if (html)
+ col.innerHTML = html;
row.appendChild(col);
}
@@ -4417,7 +4418,8 @@ function rcube_webmail()
for (c in cols) {
col = document.createElement('td');
col.className = String(c).toLowerCase();
- col.innerHTML = cols[c];
+ if (cols[c])
+ col.innerHTML = cols[c];
row.appendChild(col);
}
@@ -5863,7 +5865,7 @@ function rcube_webmail()
for (c=0, len=repl.length; c < len; c++) {
cell = document.createElement('td');
- cell.innerHTML = repl[c].html;
+ cell.innerHTML = repl[c].html || '';
if (repl[c].id) cell.id = repl[c].id;
if (repl[c].className) cell.className = repl[c].className;
tr.appendChild(cell);