GRAYBYTE WORDPRESS FILE MANAGER3375

Server IP : 149.255.58.128 / Your IP : 216.73.216.215
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/public_html/wp-includes/js/jquery/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/public_html/wp-includes/js/jquery//jquery.table-hotkeys.js
(function($){
	$.fn.filter_visible = function(depth) {
		depth = depth || 3;
		var is_visible = function() {
			var p = $(this), i;
			for(i=0; i<depth-1; ++i) {
				if (!p.is(':visible')) return false;
				p = p.parent();
			}
			return true;
		};
		return this.filter(is_visible);
	};
	$.table_hotkeys = function(table, keys, opts) {
		opts = $.extend($.table_hotkeys.defaults, opts);
		var selected_class, destructive_class, set_current_row, adjacent_row_callback, get_adjacent_row, adjacent_row, prev_row, next_row, check, get_first_row, get_last_row, make_key_callback, first_row;

		selected_class = opts.class_prefix + opts.selected_suffix;
		destructive_class = opts.class_prefix + opts.destructive_suffix;
		set_current_row = function (tr) {
			if ($.table_hotkeys.current_row) $.table_hotkeys.current_row.removeClass(selected_class);
			tr.addClass(selected_class);
			tr[0].scrollIntoView(false);
			$.table_hotkeys.current_row = tr;
		};
		adjacent_row_callback = function(which) {
			if (!adjacent_row(which) && typeof opts[which+'_page_link_cb'] === 'function' ) {
				opts[which+'_page_link_cb']();
			}
		};
		get_adjacent_row = function(which) {
			var first_row, method;

			if (!$.table_hotkeys.current_row) {
				first_row = get_first_row();
				$.table_hotkeys.current_row = first_row;
				return first_row[0];
			}
			method = 'prev' == which? $.fn.prevAll : $.fn.nextAll;
			return method.call($.table_hotkeys.current_row, opts.cycle_expr).filter_visible()[0];
		};
		adjacent_row = function(which) {
			var adj = get_adjacent_row(which);
			if (!adj) return false;
			set_current_row($(adj));
			return true;
		};
		prev_row = function() { return adjacent_row('prev'); };
		next_row = function() { return adjacent_row('next'); };
		check = function() {
			$(opts.checkbox_expr, $.table_hotkeys.current_row).each(function() {
				this.checked = !this.checked;
			});
		};
		get_first_row = function() {
			return $(opts.cycle_expr, table).filter_visible().eq(opts.start_row_index);
		};
		get_last_row = function() {
			var rows = $(opts.cycle_expr, table).filter_visible();
			return rows.eq(rows.length-1);
		};
		make_key_callback = function(expr) {
			return function() {
				if ( null == $.table_hotkeys.current_row ) return false;
				var clickable = $(expr, $.table_hotkeys.current_row);
				if (!clickable.length) return false;
				if (clickable.is('.'+destructive_class)) next_row() || prev_row();
				clickable.trigger( 'click' );
			};
		};
		first_row = get_first_row();
		if (!first_row.length) return;
		if (opts.highlight_first)
			set_current_row(first_row);
		else if (opts.highlight_last)
			set_current_row(get_last_row());
		$.hotkeys.add(opts.prev_key, opts.hotkeys_opts, function() {return adjacent_row_callback('prev');});
		$.hotkeys.add(opts.next_key, opts.hotkeys_opts, function() {return adjacent_row_callback('next');});
		$.hotkeys.add(opts.mark_key, opts.hotkeys_opts, check);
		$.each(keys, function() {
			var callback, key;

			if ( typeof this[1] === 'function' ) {
				callback = this[1];
				key = this[0];
				$.hotkeys.add(key, opts.hotkeys_opts, function(event) { return callback(event, $.table_hotkeys.current_row); });
			} else {
				key = this;
				$.hotkeys.add(key, opts.hotkeys_opts, make_key_callback('.'+opts.class_prefix+key));
			}
		});

	};
	$.table_hotkeys.current_row = null;
	$.table_hotkeys.defaults = {cycle_expr: 'tr', class_prefix: 'vim-', selected_suffix: 'current',
		destructive_suffix: 'destructive', hotkeys_opts: {disableInInput: true, type: 'keypress'},
		checkbox_expr: ':checkbox', next_key: 'j', prev_key: 'k', mark_key: 'x',
		start_row_index: 2, highlight_first: false, highlight_last: false, next_page_link_cb: false, prev_page_link_cb: false};
})(jQuery);

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
February 19 2024 02:18:53
1032 / wheelch2
0755
ui
--
May 29 2023 22:38:19
1032 / wheelch2
0755
jquery-migrate.js
31.229 KB
June 09 2023 10:19:24
1032 / wheelch2
0644
jquery-migrate.min.js
13.259 KB
June 09 2023 10:19:24
1032 / wheelch2
0644
jquery.color.min.js
6.882 KB
February 01 2022 06:52:04
1032 / wheelch2
0644
jquery.form.js
40.929 KB
March 18 2021 23:23:20
1032 / wheelch2
0644
jquery.form.min.js
15.603 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
jquery.hotkeys.js
5.485 KB
February 24 2021 01:15:04
1032 / wheelch2
0644
jquery.hotkeys.min.js
1.751 KB
August 23 2012 04:34:18
1032 / wheelch2
0644
jquery.js
278.646 KB
August 28 2023 21:44:24
1032 / wheelch2
0644
jquery.masonry.min.js
1.776 KB
August 18 2016 23:25:30
1032 / wheelch2
0644
jquery.min.js
85.501 KB
August 28 2023 21:44:24
1032 / wheelch2
0644
jquery.query.js
3.607 KB
March 11 2022 00:24:02
1032 / wheelch2
0644
jquery.schedule.js
3.376 KB
January 10 2008 23:05:48
1032 / wheelch2
0644
jquery.serialize-object.js
0.751 KB
February 24 2021 01:15:04
1032 / wheelch2
0644
jquery.table-hotkeys.js
3.664 KB
February 24 2021 01:15:04
1032 / wheelch2
0644
jquery.table-hotkeys.min.js
2.241 KB
August 23 2012 04:34:18
1032 / wheelch2
0644
jquery.ui.touch-punch.js
1.151 KB
April 11 2012 07:28:24
1032 / wheelch2
0644
suggest.js
6.827 KB
January 13 2016 22:52:28
1032 / wheelch2
0644
suggest.min.js
2.923 KB
January 13 2016 22:52:28
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF