Skip to content

Commit f7153db

Browse files
1 parent b6e5838 commit f7153db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/webapp/controller/View1.controller.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,11 @@ sap.ui.define(["sap/ui/core/mvc/Controller", "sap/ui/core/mvc/XMLView", "sap/ui/
434434
break;
435435
}
436436
break;
437+
case 'IMAGE_EDITOR_POPUP_CLOSE':
438+
const image = sap.ui.core.Fragment.byId("popupId", "imageEditor").getImagePngDataURL();
439+
z2ui5.oController.PopupDestroy();
440+
z2ui5.oController.eB([`SAVE`], image);
441+
break;
437442
case 'Z2UI5':
438443
z2ui5[args[1]](args.slice(2));
439444
break;

0 commit comments

Comments
 (0)