403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/meadowcroftca/wp-content/plugins/git-updater/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/meadowcroftca/wp-content/plugins/git-updater/js/ghu-install.js
/**
 * Javascript to show and hide the API specific settings
 * for the remote install feature.
 *
 * @class  Fragen\GitHub_Updater\Install
 * @since  4.6.0
 * @access public
 * @package	git-updater
 */

jQuery( document ).ready(
	function ($) {
		// Hide non-default (Bitbucket & GitLab) settings on page load.
		$.each(
			['bitbucket', 'gitlab', 'gitea', 'zipfile'],
			function () {
				$( 'input.'.concat( this, '_setting' ) ).parents( 'tr' ).hide();
			}
		);

		// When the api selector changes.
		$( 'select[ name="github_updater_api" ]' ).on(
			'change',
			function () {

				// create difference array.
				var hideMe = $( ['github', 'bitbucket', 'gitlab', 'gitea', 'zipfile'] ).not( [this.value] ).get();

				/*
				* Show/hide all settings that have the selected api's class.
				* this.value equals either 'github', 'bitbucket', or 'gitlab'.
				*/
				$.each(
					hideMe,
					function () {
						$( 'input.'.concat( this, '_setting' ) ).parents( 'tr' ).hide();
					}
				);

				$( 'input.'.concat( this.value, '_setting' ) ).parents( 'tr' ).show();

			}
		);
	}
);

Youez - 2016 - github.com/yon3zu
LinuXploit