Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@100547 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-10-08 16:58:48 +00:00
parent 03df93ebc0
commit ac0b918f0a
1 changed files with 5 additions and 1 deletions

View File

@ -334,7 +334,9 @@ public class TabularDataController {
eventBus.fireEvent(uiStateEvent);
break;
case TR_CLOSE:
eventBus.fireEvent(new UIStateEvent(UIStateType.TR_CLOSE));
uiStateEvent = new UIStateEvent(UIStateType.TR_CLOSE);
uiStateEvent.setTrId(trId);
eventBus.fireEvent(uiStateEvent);
break;
case TR_OPEN:
uiStateEvent = new UIStateEvent(UIStateType.TR_OPEN);
@ -409,6 +411,8 @@ public class TabularDataController {
case WIZARD_OPEN:
Log.debug("CloseTabularResource");
tabularData.closeTable();
UIStateEvent uiStateEvent = new UIStateEvent(UIStateType.TR_CLOSE);
uiStateEvent.setTrId(trId);
trId = null;
tableOpening = null;
uiState = UIStateType.TR_CLOSE;