SILENT KILLERPanel

Current Path: > home > > > > transcarter > www > > > wp-content > plugins > wp-file-manager > lib > js > ui


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home////transcarter/www///wp-content/plugins/wp-file-manager/lib/js/ui

NameTypeSizeLast ModifiedActions
button.js File 4219 bytes June 30 2025 14:02:54.
contextmenu.js File 21969 bytes June 30 2025 14:02:54.
cwd.js File 89755 bytes June 30 2025 14:02:54.
dialog.js File 26831 bytes June 30 2025 14:02:54.
fullscreenbutton.js File 634 bytes June 30 2025 14:02:54.
navbar.js File 5343 bytes June 30 2025 14:02:54.
navdock.js File 4470 bytes June 30 2025 14:02:54.
overlay.js File 969 bytes June 30 2025 14:02:54.
panel.js File 559 bytes June 30 2025 14:02:54.
path.js File 5344 bytes June 30 2025 14:02:54.
places.js File 16591 bytes June 30 2025 14:02:54.
searchbutton.js File 10287 bytes June 30 2025 14:02:54.
sortbutton.js File 3750 bytes June 30 2025 14:02:54.
stat.js File 3478 bytes June 30 2025 14:02:54.
toast.js File 2689 bytes June 30 2025 14:02:54.
toolbar.js File 10098 bytes June 30 2025 14:02:54.
tree.js File 41575 bytes June 30 2025 14:02:54.
uploadButton.js File 1072 bytes June 30 2025 14:02:54.
viewbutton.js File 770 bytes June 30 2025 14:02:54.
workzone.js File 1455 bytes June 30 2025 14:02:54.

Reading File: /home////transcarter/www///wp-content/plugins/wp-file-manager/lib/js/ui/uploadButton.js

/**
 * @class  elFinder toolbar's button tor upload file
 *
 * @author Dmitry (dio) Levashov
 **/
jQuery.fn.elfinderuploadbutton = function(cmd) {
	"use strict";
	return this.each(function() {
		var fm = cmd.fm,
			button = jQuery(this).elfinderbutton(cmd)
				.off('click'), 
			form = jQuery('<form></form>').appendTo(button),
			input = jQuery('<input type="file" multiple="true" title="'+cmd.fm.i18n('selectForUpload')+'"/>')
				.on('change', function() {
					var _input = jQuery(this);
					if (_input.val()) {
						fm.exec('upload', {input : _input.remove()[0]}, void(0), fm.cwd().hash);
						input.clone(true).appendTo(form);
					} 
				})
				.on('dragover', function(e) {
					e.originalEvent.dataTransfer.dropEffect = 'copy';
				}),
			tm;

		form.append(input.clone(true));
				
		cmd.change(function() {
			tm && cancelAnimationFrame(tm);
			tm = requestAnimationFrame(function() {
				var toShow = cmd.disabled();
				if (form.is('visible')) {
					!toShow && form.hide();
				} else {
					toShow && form.show();
				}
			});
		})
		.change();
	});
};

SILENT KILLER Tool