function findTabbables(oRef, aScopes, bNext) {
		var $Ref = jQuery(oRef),
			$All, $Tabbables;

		if (bNext) {
			$All = jQuery.merge($Ref.find("*"), jQuery.merge($Ref.nextAll(), $Ref.parents().nextAll()));
			$Tabbables = $All.find(':sapTabbable').addBack(':sapTabbable');
		} else {
			$All = jQuery.merge($Ref.prevAll(), $Ref.parents().prevAll());
			$Tabbables = jQuery.merge($Ref.parents(':sapTabbable'), $All.find(':sapTabbable').addBack(':sapTabbable'));
		}

		$Tabbables = jQuery.uniqueSort($Tabbables);
		return $Tabbables.filter(function() {
			return isContained(aScopes, this);
		});
	}
// Returns a jQuery object which contains all next/previous (bNext) tabbable DOM elements of the given starting point (oRef) within the given scopes (DOMRefs)
Returns a jQuery object which contains all next/previous (bNext) tabbable DOM elements of the given starting point (oRef) within the given scopes (DOMRefs)
Returns a jQuery object which contains all next / previous ( bNext ) tabbable DOM elements of the given starting point ( oRef ) within the given scopes ( DOMRefs )
function findTabbables(oRef, aScopes, bNext) {
		var $Ref = jQuery(oRef),
			$All, $Tabbables;
		if (bNext) {
			$All = jQuery.merge($Ref.find("*"), jQuery.merge($Ref.nextAll(), $Ref.parents().nextAll()));
			$Tabbables = $All.find(':sapTabbable').addBack(':sapTabbable');
		} else {
			$All = jQuery.merge($Ref.prevAll(), $Ref.parents().prevAll());
			$Tabbables = jQuery.merge($Ref.parents(':sapTabbable'), $All.find(':sapTabbable').addBack(':sapTabbable'));
		}
		$Tabbables = jQuery.uniqueSort($Tabbables);
		return $Tabbables.filter(function() {
			return isContained(aScopes, this);
		});
	}
function findTabbables ( oRef , aScopes , bNext ) { var $Ref = jQuery ( oRef ) , $All , $Tabbables ; if ( bNext ) { $All = jQuery . merge ( $Ref . find ( "*" ) , jQuery . merge ( $Ref . nextAll ( ) , $Ref . parents ( ) . nextAll ( ) ) ) ; $Tabbables = $All . find ( ':sapTabbable' ) . addBack ( ':sapTabbable' ) ; } else { $All = jQuery . merge ( $Ref . prevAll ( ) , $Ref . parents ( ) . prevAll ( ) ) ; $Tabbables = jQuery . merge ( $Ref . parents ( ':sapTabbable' ) , $All . find ( ':sapTabbable' ) . addBack ( ':sapTabbable' ) ) ; } $Tabbables = jQuery . uniqueSort ( $Tabbables ) ; return $Tabbables . filter ( function ( ) { return isContained ( aScopes , this ) ; } ) ; }
Returns a jQuery object which contains all next/previous (bNext) tabbable DOM elements of the given starting point (oRef) within the given scopes (DOMRefs)
Returns a jQuery object which contains all next / previous ( bNext ) tabbable DOM elements of the given starting point ( oRef ) within the given scopes ( DOMRefs )