src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js
function (sLayer, sNamespace, sFileName, sFileType, sTransportId, sSelectedLayer) {
			return LRepConnector.deleteFile(sLayer, sNamespace, sFileName, sFileType, sTransportId, sSelectedLayer).then(function () {
				var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
				oRouter.navTo("LayerContentMaster", {
					"layer": sSelectedLayer,
					"namespace": encodeURIComponent(sNamespace)
				});
			}.bind(this));
		}
function (sLayer, sNamespace, sFileName, sFileType, sTransportId, sSelectedLayer) {
			return LRepConnector.deleteFile(sLayer, sNamespace, sFileName, sFileType, sTransportId, sSelectedLayer).then(function () {
				var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
				oRouter.navTo("LayerContentMaster", {
					"layer": sSelectedLayer,
					"namespace": encodeURIComponent(sNamespace)
				});
			}.bind(this));
		}
function ( sLayer , sNamespace , sFileName , sFileType , sTransportId , sSelectedLayer ) { return LRepConnector . deleteFile ( sLayer , sNamespace , sFileName , sFileType , sTransportId , sSelectedLayer ) . then ( function ( ) { var oRouter = sap . ui . core . UIComponent . getRouterFor ( this ) ; oRouter . navTo ( "LayerContentMaster" , { "layer" : sSelectedLayer , "namespace" : encodeURIComponent ( sNamespace ) } ) ; } . bind ( this ) ) ; }
Handler if a deletion was confirmed.
@returns {Promise} - <code>LRepConnector</code> "deleteFile" promise
@private
Handler if a deletion was confirmed .