소스 검색

Removed dual adapter registration: in ajax mode the window sent the events both to application manager as well as

to application servlet. This causes various bugs in repainting. 

Fixes #247

svn changeset:366/svn branch:toolkit
tags/6.7.0.beta1
Joonas Lehtinen 17 년 전
부모
커밋
d189afd876
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      src/com/itmill/toolkit/terminal/web/ApplicationServlet.java

+ 4
- 0
src/com/itmill/toolkit/terminal/web/ApplicationServlet.java 파일 보기

@@ -1885,6 +1885,10 @@ public class ApplicationServlet extends HttpServlet implements
application.removeListener((Application.WindowAttachListener) this);
application.removeListener((Application.WindowDetachListener) this);

// Deregister all window listeners
for (Iterator wins = application.getWindows().iterator(); wins.hasNext();)
((Window)wins.next()).removeListener((Paintable.RepaintRequestListener)this);
// Manager takes control over the application
mgr.takeControl();
}

Loading…
취소
저장