mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Framework WIP
- Finish non-app tabs loading on first load - Missing nm column button
This commit is contained in:
parent
6760ad8a0b
commit
823f98f49e
@ -200,6 +200,17 @@ div.et2_nextmatch {
|
||||
|
||||
.egwGridView_outer {
|
||||
height: 100%;
|
||||
|
||||
thead tr th.optcol span.selectcols {
|
||||
height: 9px;
|
||||
padding: 4px 14px 0 2px;
|
||||
margin-top: 4px;
|
||||
background-image: url(../../../api/templates/default/images/selectcols.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 10px 10px;
|
||||
display: inline-block;
|
||||
background-position: top;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -277,9 +277,7 @@ export class EgwFramework extends LitElement
|
||||
// Tabs present
|
||||
this.updateComplete.then(() =>
|
||||
{
|
||||
this.querySelectorAll("egw-app[active]").forEach(n => n.removeAttribute("active"));
|
||||
|
||||
this.tabs.show(appname);
|
||||
this.showTab(appname);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -511,11 +509,15 @@ export class EgwFramework extends LitElement
|
||||
* @protected
|
||||
*/
|
||||
protected handleApplicationTabShow(event)
|
||||
{
|
||||
// Create & show app
|
||||
this.showTab(event.target.activeTab.panel);
|
||||
}
|
||||
|
||||
public showTab(appname)
|
||||
{
|
||||
this.querySelectorAll("egw-app").forEach(app => app.removeAttribute("active"));
|
||||
|
||||
// Create & show app
|
||||
const appname = event.target.activeTab.panel;
|
||||
let appComponent = this.querySelector(`egw-app#${appname}`);
|
||||
if(!appComponent)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user