[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.224.45.82: ~ $
(function ($) {
	$(function () {
		// Close modal
		var urModalClose = function () {
			if ($("#ur-modal-select-form").length) {
				$("#ur-modal-select-form").get(0).selectedIndex = 0;
			}
			$("#ur-modal-backdrop, #ur-modal-wrap").css("display", "none");
			$(document.body).removeClass("modal-open");
		};
		// Open modal when media button is clicked
		$(document).on("click", ".ur-insert-form-button", function (event) {
			event.preventDefault();
			$("#ur-modal-backdrop, #ur-modal-wrap").css("display", "block");
			$(document.body).addClass("modal-open");
		});
		// Close modal on close or cancel links
		$(document).on(
			"click",
			"#ur-modal-close, #ur-modal-cancel a",
			function (event) {
				event.preventDefault();
				urModalClose();
			}
		);
		// Insert shortcode into TinyMCE
		$(document).on("click", "#ur-modal-submit", function (event) {
			event.preventDefault();
			var shortcode;
			shortcode =
				'[user_registration_form id="' +
				$("#ur-modal-select-form").val() +
				'"';
			shortcode = shortcode + "]";
			wp.media.editor.insert(shortcode);
			urModalClose();
		});

		//Insert Smart Tag into TinyMCE
		$(document).on("change", "#select-smart-tags", function (event) {
			event.preventDefault();
			var smart_tag;
			smart_tag = $(this).val();
			wp.media.editor.insert(smart_tag);
			urModalClose();
			$("#select-smart-tags").val(
				$("#select-smart-tags option:first").val()
			);
		});

		/**
		 * Check all options when Select All is checked or vice versa in nav menus.
		 */
		$("#ur-pro-popups-tab, #ur-endpoints-tab").on("change", function (e) {
			var select_all = $(e.target);

			var options = select_all
				.closest(
					"#posttype-user-registration-modal, #posttype-user-registration-endpoints"
				)
				.find(".menu-item-checkbox");

			var check_all = false;

			if (select_all.is(":checked")) {
				check_all = true;
			}

			options.each(function (i, option) {
				$(option).prop("checked", check_all);
			});
		});

		/**
		 * Check Select All checkbox when all options are selected and vice versa in nav menus.
		 */
		$(
			"#posttype-user-registration-modal, #posttype-user-registration-endpoints"
		)
			.find(".menu-item-checkbox")
			.on("change", function (e) {
				var $this = $(e.target);
				var all_checked = true;

				var options = $this.closest("ul").find(".menu-item-checkbox");
				options.each(function (_, option) {
					if (!$(option).is(":checked")) {
						all_checked = false;
					}

					if (!all_checked) {
						return false;
					}
				});

				var select_all = $this
					.closest(
						"#posttype-user-registration-modal, #posttype-user-registration-endpoints"
					)
					.find(".select-all");

				if (all_checked) {
					select_all.prop("checked", true);
				} else {
					select_all.prop("checked", false);
				}
			});
	});
})(jQuery);

Filemanager

Name Type Size Permission Actions
gutenberg Folder 0755
admin.js File 43.35 KB 0644
admin.min.js File 26.38 KB 0644
backbone-modal.js File 3.38 KB 0644
backbone-modal.min.js File 2.13 KB 0644
dashboard-widget.js File 1.57 KB 0644
dashboard-widget.min.js File 1.25 KB 0644
deactivation-feedback.js File 2.58 KB 0644
deactivation-feedback.min.js File 1.72 KB 0644
enhanced-select.js File 6.33 KB 0644
enhanced-select.min.js File 3.3 KB 0644
form-builder.js File 197.05 KB 0644
form-builder.min.js File 92.8 KB 0644
form-modal.js File 2.77 KB 0644
form-modal.min.js File 1.58 KB 0644
form-settings.js File 2.92 KB 0644
form-settings.min.js File 1.97 KB 0644
form-templates.js File 705 B 0644
form-templates.min.js File 498 B 0644
live-user-notice.js File 2.16 KB 0644
live-user-notice.min.js File 1.41 KB 0644
settings.js File 27.92 KB 0644
settings.min.js File 17.53 KB 0644
shortcode-form-embed.js File 1.86 KB 0644
shortcode-form-embed.min.js File 1.1 KB 0644
ur-copy.js File 1.57 KB 0644
ur-copy.min.js File 732 B 0644
ur-notice.js File 995 B 0644
ur-notice.min.js File 584 B 0644
ur-setup.js File 29.67 KB 0644
ur-setup.min.js File 16.98 KB 0644