| Line 9... |
Line 9... |
| 9 |
import in.shop2020.hotspot.dashbaord.client.event.SubmitLoginInfoHandler;
|
9 |
import in.shop2020.hotspot.dashbaord.client.event.SubmitLoginInfoHandler;
|
| 10 |
import in.shop2020.hotspot.dashbaord.client.inbox.InboxPresenter;
|
10 |
import in.shop2020.hotspot.dashbaord.client.inbox.InboxPresenter;
|
| 11 |
import in.shop2020.hotspot.dashbaord.shared.actions.AuthRequest;
|
11 |
import in.shop2020.hotspot.dashbaord.shared.actions.AuthRequest;
|
| 12 |
import in.shop2020.hotspot.dashbaord.shared.actions.AuthResponse;
|
12 |
import in.shop2020.hotspot.dashbaord.shared.actions.AuthResponse;
|
| 13 |
import in.shop2020.hotspot.dashbaord.shared.actions.AuthResponse.NEXT;
|
13 |
import in.shop2020.hotspot.dashbaord.shared.actions.AuthResponse.NEXT;
|
| - |
|
14 |
import in.shop2020.hotspot.dashbaord.shared.actions.OrderCategory;
|
| 14 |
import in.shop2020.hotspot.dashbaord.shared.actions.OrderType;
|
15 |
import in.shop2020.hotspot.dashbaord.shared.actions.OrderType;
|
| 15 |
|
16 |
|
| 16 |
import net.customware.gwt.dispatch.client.DispatchAsync;
|
17 |
import net.customware.gwt.dispatch.client.DispatchAsync;
|
| 17 |
|
18 |
|
| 18 |
import org.enunes.gwt.mvp.client.EventBus;
|
19 |
import org.enunes.gwt.mvp.client.EventBus;
|
| Line 112... |
Line 113... |
| 112 |
switchPresenter(inboxPresenter);
|
113 |
switchPresenter(inboxPresenter);
|
| 113 |
eventBus.fireEvent(new LoadOrderListEvent());
|
114 |
eventBus.fireEvent(new LoadOrderListEvent());
|
| 114 |
for(OrderType orderType: OrderType.values()){
|
115 |
for(OrderType orderType: OrderType.values()){
|
| 115 |
eventBus.fireEvent(new LoadOrderCountsEvent(orderType));
|
116 |
eventBus.fireEvent(new LoadOrderCountsEvent(orderType));
|
| 116 |
}
|
117 |
}
|
| - |
|
118 |
for(OrderCategory orderType: OrderCategory.values()){
|
| - |
|
119 |
eventBus.fireEvent(new LoadOrderCountsEvent(orderType));
|
| - |
|
120 |
}
|
| 117 |
eventBus.fireEvent(new LoadAlertsEvent(true, false, 1));
|
121 |
eventBus.fireEvent(new LoadAlertsEvent(true, false, 1));
|
| 118 |
}
|
122 |
}
|
| 119 |
|
123 |
|
| 120 |
}
|
124 |
}
|
| 121 |
else
|
125 |
else
|