wire/modules/LanguageSupport/LanguageTabs.js
/**
 * Event called when language tab is long-clicked
 * 
 * @param e
 * 
 */
Event called when language tab is long-clicked

@param e
Event called when language tab is long - clicked @param e
function dblclickLanguageTab(e) {
	if(clickLanguageTabActive) return;
	clickLanguageTabActive = true;
	var $tab = $(this);
	var langID = $tab.attr('data-lang');
	var $tabs = $tab.closest('form').find('a.langTab' + langID).not($tab);
	$tab.click();
	$tabs.click();
	$tabs.effect('highlight', 250);
	setTimeout(function() {
		clickLanguageTabActive = false;
	}, 250);
}
function dblclickLanguageTab ( e ) { if ( clickLanguageTabActive ) return ; clickLanguageTabActive = true ; var $tab = $ ( this ) ; var langID = $tab . attr ( 'data-lang' ) ; var $tabs = $tab . closest ( 'form' ) . find ( 'a.langTab' + langID ) . not ( $tab ) ; $tab . click ( ) ; $tabs . click ( ) ; $tabs . effect ( 'highlight' , 250 ) ; setTimeout ( function ( ) { clickLanguageTabActive = false ; } , 250 ) ; }
Event called when language tab is long-clicked
Event called when language tab is long - clicked