This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch wicket-defer-all
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/wicket-defer-all by this push:
     new a562cc4  Code clean-up
a562cc4 is described below

commit a562cc451c4160ed9fe32e5d683b7ad4c54126dd
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Thu Feb 1 14:50:58 2018 +0700

    Code clean-up
---
 .../src/main/java/org/apache/openmeetings/web/app/Application.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
index 5251c15..f2abc72 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
@@ -177,6 +177,7 @@ public class Application extends 
AuthenticatedWebApplication implements IApplica
        @Override
        protected void init() {
                setWicketApplicationName(super.getName());
+               setHeaderResponseDecorator(response -> new 
ResourceAggregator(new JavaScriptDeferHeaderResponse(response)));
                getSecuritySettings().setAuthenticationStrategy(new 
OmAuthenticationStrategy());
                
getApplicationSettings().setAccessDeniedPage(AccessDeniedPage.class);
 
@@ -262,7 +263,6 @@ public class Application extends 
AuthenticatedWebApplication implements IApplica
                });
 
                super.init();
-               setHeaderResponseDecorator(response -> new 
ResourceAggregator(new JavaScriptDeferHeaderResponse(response)));
 
                // register some widgets
                dashboardContext = new DashboardContext();

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to