src/sap.ui.dt/src/sap/ui/dt/ContextMenuControl.js
function (aButtons) {
			for (var i = aButtons.length - 1; i >= 0; i--) {
				if (aButtons[i].getVisible()) {
					aButtons[i].setVisible(false);
					this.addOverflowButton();
					return;
				}
			}
		}
function (aButtons) {
			for (var i = aButtons.length - 1; i >= 0; i--) {
				if (aButtons[i].getVisible()) {
					aButtons[i].setVisible(false);
					this.addOverflowButton();
					return;
				}
			}
		}
function ( aButtons ) { for ( var i = aButtons . length - 1 ; i >= 0 ; i -- ) { if ( aButtons [ i ] . getVisible ( ) ) { aButtons [ i ] . setVisible ( false ) ; this . addOverflowButton ( ) ; return ; } } }
Hides the last visible button and adds an OverflowButton
@param {array} aButtons some buttons
Hides the last visible button and adds an OverflowButton