You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2009/12/04 17:13:59 UTC

svn commit: r887248 - /james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java

Author: norman
Date: Fri Dec  4 16:13:58 2009
New Revision: 887248

URL: http://svn.apache.org/viewvc?rev=887248&view=rev
Log:
Empty the searchbox on logout

Modified:
    james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java?rev=887248&r1=887247&r2=887248&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java Fri Dec  4 16:13:58 2009
@@ -134,7 +134,10 @@
 
             public void onLogout(LogoutEvent logoutEvent) {
                 getDisplay().reset();
+                getDisplay().getSearchValue().setValue("");
                 
+                // we need to fire a event to notify the history about the reset
+                firePresenterChangedEvent();
             }
             
         });



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org