src/sap.ui.support/src/sap/ui/support/supportRules/ui/models/Documentation.js
function (sUrl, sTopicId) {
			this._pingUrl(sUrl).then(function success() {
				mLibrary.URLHelper.redirect(sUrl, true);
			}, function error() {
				jQuery.sap.log.info("Support Assistant tried to load documentation link in " + sUrl + "but fail");
				sUrl = "https://ui5.sap.com/#/topic/" + sTopicId;
				mLibrary.URLHelper.redirect(sUrl, true);
			});
		}
function (sUrl, sTopicId) {
			this._pingUrl(sUrl).then(function success() {
				mLibrary.URLHelper.redirect(sUrl, true);
			}, function error() {
				jQuery.sap.log.info("Support Assistant tried to load documentation link in " + sUrl + "but fail");
				sUrl = "https://ui5.sap.com/#/topic/" + sTopicId;
				mLibrary.URLHelper.redirect(sUrl, true);
			});
		}
function ( sUrl , sTopicId ) { this . _pingUrl ( sUrl ) . then ( function success ( ) { mLibrary . URLHelper . redirect ( sUrl , true ) ; } , function error ( ) { jQuery . sap . log . info ( "Support Assistant tried to load documentation link in " + sUrl + "but fail" ) ; sUrl = "https://ui5.sap.com/#/topic/" + sTopicId ; mLibrary . URLHelper . redirect ( sUrl , true ) ; } ) ; }
Pings the given URL to check that this is a valid path.
If the ping is successful - redirects to the given URL.
If something goes wrong - falls back to a default public URL.
@private
@param {string} sUrl URL that needs to be pinged and redirected to
@param {string} sTopicId The ID of the topic to open
Pings the given URL to check that this is a valid path . If the ping is successful - redirects to the given URL . If something goes wrong - falls back to a default public URL .