Author: dongxu
Date: Thu Sep 12 04:25:55 2013
New Revision: 1522346
URL: http://svn.apache.org/r1522346
Log:
scrub code
Modified:
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/FoldersTreeViewModel.java
Modified:
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/FoldersTreeViewModel.java
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/FoldersTreeViewModel.java?rev=1522346&r1=1522345&r2=1522346&view=diff
==============================================================================
---
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/FoldersTreeViewModel.java
(original)
+++
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/FoldersTreeViewModel.java
Thu Sep 12 04:25:55 2013
@@ -41,7 +41,6 @@ import com.google.gwt.event.dom.client.C
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.place.shared.PlaceController;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
-import com.google.gwt.safehtml.shared.SafeHtmlUtils;
import com.google.gwt.view.client.AsyncDataProvider;
import com.google.gwt.view.client.HasData;
import com.google.gwt.view.client.ProvidesKey;
@@ -72,7 +71,6 @@ public class FoldersTreeViewModel implem
public void onSelectionChange(SelectionChangeEvent
event) {
topBar.showLoading();//FIXME delay to show, why
controller.showNotice("Hi, this is the
notification test.<a href='http://g.cn/' target='_blacnk'>Link</a>", 10000);
-// notice.notice(SafeHtmlUtils.fromString("Hi,
this is the notification test.<a href='http://g.cn/'
target='_blacnk'>Link</a>"));
SingleSelectionModel<ImapFolder> selectionModel
= (SingleSelectionModel<ImapFolder>) event.getSource();
currentFolder =
selectionModel.getSelectedObject();
eventBus.fireEvent(new LoadMessagesEvent(user,
selectionModel.getSelectedObject()));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]