src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js
function () {
			var that = this;

			var oDialog = new Dialog({
				title: "{i18n>confirmDeletionTitle}",
				type: "Message",
				content: new Text({text: "{i18n>questionFileDeletion}"}),
				beginButton: new Button({
					text: "{i18n>confirm}",
					type: ButtonType.Reject,
					press: function () {
						oDialog.close();
						that._selectTransportAndDeleteFile();
					}
				}),
				endButton: new Button({
					text: "{i18n>cancel}",
					press: function () {
						oDialog.close();
					}
				}),
				afterClose: function () {
					oDialog.destroy();
				}
			});

			this.getView().addDependent(oDialog);

			oDialog.open();
		}
function () {
			var that = this;

			var oDialog = new Dialog({
				title: "{i18n>confirmDeletionTitle}",
				type: "Message",
				content: new Text({text: "{i18n>questionFileDeletion}"}),
				beginButton: new Button({
					text: "{i18n>confirm}",
					type: ButtonType.Reject,
					press: function () {
						oDialog.close();
						that._selectTransportAndDeleteFile();
					}
				}),
				endButton: new Button({
					text: "{i18n>cancel}",
					press: function () {
						oDialog.close();
					}
				}),
				afterClose: function () {
					oDialog.destroy();
				}
			});

			this.getView().addDependent(oDialog);

			oDialog.open();
		}
function ( ) { var that = this ; var oDialog = new Dialog ( { title : "{i18n>confirmDeletionTitle}" , type : "Message" , content : new Text ( { text : "{i18n>questionFileDeletion}" } ) , beginButton : new Button ( { text : "{i18n>confirm}" , type : ButtonType . Reject , press : function ( ) { oDialog . close ( ) ; that . _selectTransportAndDeleteFile ( ) ; } } ) , endButton : new Button ( { text : "{i18n>cancel}" , press : function ( ) { oDialog . close ( ) ; } } ) , afterClose : function ( ) { oDialog . destroy ( ) ; } } ) ; this . getView ( ) . addDependent ( oDialog ) ; oDialog . open ( ) ; }
Handles the deletion button;
The function displays a confirmation dialog. On confirmation, the deletion of the displayed content is triggered.
@public
Handles the deletion button ; The function displays a confirmation dialog . On confirmation the deletion of the displayed content is triggered .