Skip to content

Commit f654721

Browse files
committed
bf
1 parent 3183c69 commit f654721

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

openstack-ui/src/main/java/org/openstack/ui/client/view/compute/volume/AttachVolumeActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
public class AttachVolumeActivity extends AbstractActivity implements AttachVolumeView.Presenter {
1616

17-
private static final AttachVolumeView VIEW = new AttachVolumeView();
17+
public static final AttachVolumeView VIEW = new AttachVolumeView();
1818

1919
private Volume volume;
2020

openstack-ui/src/main/java/org/openstack/ui/client/view/compute/volume/CreateVolumeActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
public class CreateVolumeActivity extends AbstractActivity {
1616

17-
private static final CreateVolumeView VIEW = new CreateVolumeView();
17+
public static final CreateVolumeView VIEW = new CreateVolumeView();
1818

1919
//create volume from snapshot
2020
private Snapshot snapshot;
@@ -29,7 +29,6 @@ public CreateVolumeActivity(Snapshot snapshot) {
2929

3030
@Override
3131
public void start(final AcceptsOneWidget panel, EventBus eventBus) {
32-
//VIEW.setPresenter(this);
3332
OpenStackClient.COMPUTE.listSnapshots(new DefaultAsyncCallback<SnapshotList>() {
3433

3534
@Override

openstack-ui/src/main/java/org/openstack/ui/client/view/compute/volume/VolumesActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public void onSuccess(Volume result) {
110110
@Override
111111
public void onCreateVolume() {
112112
CreateVolumeActivity activity = new CreateVolumeActivity();
113+
CreateVolumeActivity.VIEW.setPresenter(this);
113114
activity.start(UI.MODAL, null);
114115
}
115116

0 commit comments

Comments
 (0)