src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/BaseController.js
function (oEvent) {
				var oSource = oEvent.getSource ? oEvent.getSource() : oEvent.target;

				if (!this.oDisclaimerPopover) {

					sap.ui.core.Fragment.load({
						name: "sap.ui.documentation.sdk.view.LegalDisclaimerPopover"
					}).then(function (oPopover) {
						this.oDisclaimerPopover = oPopover;
						oPopover.openBy(oSource);
					}.bind(this));

					return; // We continue execution in the promise
				} else if (this.oDisclaimerPopover.isOpen()) {
					 this.oDisclaimerPopover.close();
				}

				this.oDisclaimerPopover.openBy(oSource);
			}
function (oEvent) {
				var oSource = oEvent.getSource ? oEvent.getSource() : oEvent.target;

				if (!this.oDisclaimerPopover) {

					sap.ui.core.Fragment.load({
						name: "sap.ui.documentation.sdk.view.LegalDisclaimerPopover"
					}).then(function (oPopover) {
						this.oDisclaimerPopover = oPopover;
						oPopover.openBy(oSource);
					}.bind(this));

					return; // We continue execution in the promise
				} else if (this.oDisclaimerPopover.isOpen()) {
					 this.oDisclaimerPopover.close();
				}

				this.oDisclaimerPopover.openBy(oSource);
			}
function ( oEvent ) { var oSource = oEvent . getSource ? oEvent . getSource ( ) : oEvent . target ; if ( ! this . oDisclaimerPopover ) { sap . ui . core . Fragment . load ( { name : "sap.ui.documentation.sdk.view.LegalDisclaimerPopover" } ) . then ( function ( oPopover ) { this . oDisclaimerPopover = oPopover ; oPopover . openBy ( oSource ) ; } . bind ( this ) ) ; return ; // We continue execution in the promise } else if ( this . oDisclaimerPopover . isOpen ( ) ) { this . oDisclaimerPopover . close ( ) ; } this . oDisclaimerPopover . openBy ( oSource ) ; }
Opens a legal disclaimer for Links Popover.
@param {sap.ui.base.Event} oEvent: the <code>Image</code> press event
@public
Opens a legal disclaimer for Links Popover .