Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Felamimail): cope with empty state
Browse files Browse the repository at this point in the history
Change-Id: Ia999fa2ddcf455cbf3b38bc08293826a42aa796f
Reviewed-on: http://gerrit.tine20.com/customers/18595
Tested-by: Jenkins CI (http://ci.tine20.com/) <tine20-jenkins@metaways.de>
Reviewed-by: Christian Feitl <c.feitl@metaways.de>
  • Loading branch information
corneliusweiss authored and Christian Feitl committed Dec 2, 2020
1 parent 4c2e507 commit a2256a7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tine20/Felamimail/js/TreePanel.js
Expand Up @@ -408,7 +408,7 @@ Ext.extend(Tine.Felamimail.TreePanel, Ext.tree.TreePanel, {
this.applyingState = false;
}

let node = this.getNodeById(state.selected);
let node = this.getNodeById(_.get(state, 'selected'));

if(node) {
node.select();
Expand Down
2 changes: 1 addition & 1 deletion tine20/Tinebase/Tinebase.jsb2
Expand Up @@ -1073,7 +1073,7 @@
"path": "css/"
},
{
"text": "Tinebase.css",
"text": "Tinebase.less",
"path": "css/"
},
{
Expand Down
Expand Up @@ -1187,17 +1187,31 @@ div.x-btn-wait,
border-radius: 100%;
}

.x-pie-0 { background-image: url(../../images/icon-set/icon_pie_0percent.svg); }
.x-pie-10 { background-image: url(../../images/icon-set/icon_pie_10percent.svg); }
.x-pie-20 { background-image: url(../../images/icon-set/icon_pie_20percent.svg); }
.x-pie-30 { background-image: url(../../images/icon-set/icon_pie_30percent.svg); }
.x-pie-40 { background-image: url(../../images/icon-set/icon_pie_40percent.svg); }
.x-pie-50 { background-image: url(../../images/icon-set/icon_pie_50percent.svg); }
.x-pie-60 { background-image: url(../../images/icon-set/icon_pie_60percent.svg); }
.x-pie-70 { background-image: url(../../images/icon-set/icon_pie_70percent.svg); }
.x-pie-80 { background-image: url(../../images/icon-set/icon_pie_80percent.svg); }
.x-pie-90 { background-image: url(../../images/icon-set/icon_pie_90percent.svg); }
.x-pie-100 { background-image: url(../../images/icon-set/icon_pie_100percent.svg); }
.x-pie-0 { background-image: url(../../images/icon-set/icon_pie_0percent-small.svg); }
.x-pie-10 { background-image: url(../../images/icon-set/icon_pie_10percent-small.svg); }
.x-pie-20 { background-image: url(../../images/icon-set/icon_pie_20percent-small.svg); }
.x-pie-30 { background-image: url(../../images/icon-set/icon_pie_30percent-small.svg); }
.x-pie-40 { background-image: url(../../images/icon-set/icon_pie_40percent-small.svg); }
.x-pie-50 { background-image: url(../../images/icon-set/icon_pie_50percent-small.svg); }
.x-pie-60 { background-image: url(../../images/icon-set/icon_pie_60percent-small.svg); }
.x-pie-70 { background-image: url(../../images/icon-set/icon_pie_70percent-small.svg); }
.x-pie-80 { background-image: url(../../images/icon-set/icon_pie_80percent-small.svg); }
.x-pie-90 { background-image: url(../../images/icon-set/icon_pie_90percent-small.svg); }
.x-pie-100 { background-image: url(../../images/icon-set/icon_pie_100percent-small.svg); }

.MD, .LG > {
.x-pie-0 { background-image: url(../../images/icon-set/icon_pie_0percent.svg); }
.x-pie-10 { background-image: url(../../images/icon-set/icon_pie_10percent.svg); }
.x-pie-20 { background-image: url(../../images/icon-set/icon_pie_20percent.svg); }
.x-pie-30 { background-image: url(../../images/icon-set/icon_pie_30percent.svg); }
.x-pie-40 { background-image: url(../../images/icon-set/icon_pie_40percent.svg); }
.x-pie-50 { background-image: url(../../images/icon-set/icon_pie_50percent.svg); }
.x-pie-60 { background-image: url(../../images/icon-set/icon_pie_60percent.svg); }
.x-pie-70 { background-image: url(../../images/icon-set/icon_pie_70percent.svg); }
.x-pie-80 { background-image: url(../../images/icon-set/icon_pie_80percent.svg); }
.x-pie-90 { background-image: url(../../images/icon-set/icon_pie_90percent.svg); }
.x-pie-100 { background-image: url(../../images/icon-set/icon_pie_100percent.svg); }
}

.x-btn-medium.x-btn-icon-medium-top div.x-btn-wait {
width: 28px;
Expand Down

0 comments on commit a2256a7

Please sign in to comment.