403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : infrafs ( 43850)
PHP Version : 8.2.29
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/infrafs/INFRABIKEUS/wp-content/plugins/admin-advice/assets/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/infrafs/INFRABIKEUS/wp-content/plugins/admin-advice/assets/js/admin/settings.js
(function ($, window) {

	window.anm_settings = window.anm_settings || {};

	window.anm_settings.select_appropriate_radio = function (e) {
		if (0 === $(e.target).val().length) {
			$(e.target).closest('fieldset').find('input[type="radio"]').first().prop('checked', true);
		} else {
			$(e.target).prevAll('label').first().find('input[type="radio"]').prop('checked', true);
		}
	};

	window.anm_settings.append_select2_events = function (select2obj) {
		select2obj.on('select2:select', window.anm_settings.select_appropriate_radio)
			.on('select2:unselect', window.anm_settings.select_appropriate_radio)
			.on('change', window.anm_settings.select_appropriate_radio);
	};

	jQuery(document).on('click', '#anm-purge-btn', function (e) {
		e.preventDefault();
		var nonce = jQuery(this).attr('data-nonce');

		jQuery.ajax({
			type: 'POST',
			dataType: 'json',
			url: anm_settings.ajaxurl,
			data: {
				action: 'anm_purge_notices',
				nonce: nonce
			},
			complete: function (data) {
				$('#anm-notice-purged-text').not('.visible').addClass('visible');
				setTimeout(function () {
					$('#anm-notice-purged-text.visible').removeClass('visible');
				}, 2000);
			}
		})
	});

}(jQuery, window));

Youez - 2016 - github.com/yon3zu
LinuXploit