@@ -90,14 +90,15 @@ public VisualTreeWebApp(IComponentHub componentHub, IPageContext pageContext)
9090 AddCssLink ( RouteEndpoint . Combine ( baseUri , "css/webexpress.webapp.table.css" ) ) ;
9191 AddCssLink ( RouteEndpoint . Combine ( baseUri , "css/webexpress.webapp.taskprogressbar.css" ) ) ;
9292 AddCssLink ( Theme ? . ThemeStyle . ToString ( ) ?? RouteEndpoint . Combine ( baseUri , "css/webexpress.webapp.theme.css" ) ) ;
93- AddHeaderLanguageLink ( RouteEndpoint . Combine ( baseUri , "js/i18n/en.js" ) ) ;
94- AddHeaderLanguageLink ( RouteEndpoint . Combine ( baseUri , "js/i18n/de.js" ) ) ;
93+
9594 AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/webexpress.webapp.js" ) ) ;
9695 AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/webexpress.webapp.popupnotification.js" ) ) ;
97- AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "assets/ js/webexpress.webapp.selection.js" ) ) ;
96+ AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/webexpress.webapp.selection.js" ) ) ;
9897 AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/webexpress.webapp.modalform.js" ) ) ;
9998 AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/webexpress.webapp.table.js" ) ) ;
10099 AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/webexpress.webapp.taskprogressbar.js" ) ) ;
100+ AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/i18n/en.js" ) ) ;
101+ AddHeaderScriptLink ( RouteEndpoint . Combine ( baseUri , "js/i18n/de.js" ) ) ;
101102 }
102103
103104 /// <summary>
@@ -117,8 +118,7 @@ public override IHtmlNode Render(IVisualTreeContext context)
117118 html . Head . Meta = Meta ;
118119 html . Head . Scripts = HeaderScripts ;
119120 html . Head . CssLinks = CssLinks . Where ( x => x != null ) . Select ( x => x . ToString ( ) ) ;
120- html . Head . ScriptLinks = HeaderLanguageLinks ? . Where ( x => x != null ) . Select ( x => x . ToString ( ) )
121- . Union ( HeaderScriptLinks ? . Where ( x => x != null ) . Select ( x => x . ToString ( ) ) ) ;
121+ html . Head . ScriptLinks = HeaderScriptLinks ? . Where ( x => x != null ) . Select ( x => x . ToString ( ) ) ;
122122
123123 // header
124124 Header . AppTitle . Text = html . Head . Title ;
0 commit comments