function (bSwitch) {

			jQuery.sap.require("sap.ui.core.routing.HashChanger");
			var HashChanger = sap.ui.require("sap/ui/core/routing/HashChanger");
			var oHashChanger = new HashChanger();
			var sHash = oHashChanger.getHash();
			var oUri = window.location;

			// TODO: remove this fix when microsoft fix this under IE11 on Win 10
			if (!window.location.origin) {
				window.location.origin = window.location.protocol + "//" +
					window.location.hostname +
					(window.location.port ? ':' + window.location.port : '');
			}

			if (bSwitch) {
				// add the parameter
				window.location = oUri.origin + oUri.pathname + "?sap-ui-rtl=true#" + sHash;
			} else {
				// or remove it
				window.location = oUri.origin + oUri.pathname + "#/" + sHash;
			}

		}
function (bSwitch) {

			jQuery.sap.require("sap.ui.core.routing.HashChanger");
			var HashChanger = sap.ui.require("sap/ui/core/routing/HashChanger");
			var oHashChanger = new HashChanger();
			var sHash = oHashChanger.getHash();
			var oUri = window.location;

			// TODO: remove this fix when microsoft fix this under IE11 on Win 10
			if (!window.location.origin) {
				window.location.origin = window.location.protocol + "//" +
					window.location.hostname +
					(window.location.port ? ':' + window.location.port : '');
			}

			if (bSwitch) {
				// add the parameter
				window.location = oUri.origin + oUri.pathname + "?sap-ui-rtl=true#" + sHash;
			} else {
				// or remove it
				window.location = oUri.origin + oUri.pathname + "#/" + sHash;
			}

		}
function ( bSwitch ) { jQuery . sap . require ( "sap.ui.core.routing.HashChanger" ) ; var HashChanger = sap . ui . require ( "sap/ui/core/routing/HashChanger" ) ; var oHashChanger = new HashChanger ( ) ; var sHash = oHashChanger . getHash ( ) ; var oUri = window . location ; // TODO: remove this fix when microsoft fix this under IE11 on Win 10 if ( ! window . location . origin ) { window . location . origin = window . location . protocol + "//" + window . location . hostname + ( window . location . port ? ':' + window . location . port : '' ) ; } if ( bSwitch ) { // add the parameter window . location = oUri . origin + oUri . pathname + "?sap-ui-rtl=true#" + sHash ; } else { // or remove it window . location = oUri . origin + oUri . pathname + "#/" + sHash ; } }
trigger reload w/o URL-Parameter;
trigger reload w / o URL - Parameter ;
Sets the hash to the hash of the window