src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js
function () {
			var oRouter = UIComponent.getRouterFor(this);
			if (!this.sNamespace || this.sNamespace === "/") {
				oRouter.navTo("Layers");
			} else {
				var sSplittedNamespace = this.sNamespace.split("/");
				sSplittedNamespace.splice(-2, 1);
				var sTargetNamespace = sSplittedNamespace.join("/");
				oRouter.navTo("LayerContentMaster", {"layer": this.sLayer, "namespace": encodeURIComponent(sTargetNamespace)}, true);
			}
		}
function () {
			var oRouter = UIComponent.getRouterFor(this);
			if (!this.sNamespace || this.sNamespace === "/") {
				oRouter.navTo("Layers");
			} else {
				var sSplittedNamespace = this.sNamespace.split("/");
				sSplittedNamespace.splice(-2, 1);
				var sTargetNamespace = sSplittedNamespace.join("/");
				oRouter.navTo("LayerContentMaster", {"layer": this.sLayer, "namespace": encodeURIComponent(sTargetNamespace)}, true);
			}
		}
function ( ) { var oRouter = UIComponent . getRouterFor ( this ) ; if ( ! this . sNamespace || this . sNamespace === "/" ) { oRouter . navTo ( "Layers" ) ; } else { var sSplittedNamespace = this . sNamespace . split ( "/" ) ; sSplittedNamespace . splice ( - 2 , 1 ) ; var sTargetNamespace = sSplittedNamespace . join ( "/" ) ; oRouter . navTo ( "LayerContentMaster" , { "layer" : this . sLayer , "namespace" : encodeURIComponent ( sTargetNamespace ) } , true ) ; } }
Handles the back navigation in the master list;
Calculates the parent namespace, then navigates to the target.
@public
Handles the back navigation in the master list ; Calculates the parent namespace then navigates to the target .