? 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/plugins/system/nnframework/fields/multiselect/
File Upload :
Current File : /home/admin/public_html/old/plugins/system/nnframework/fields/multiselect/script_mt11.js

// no MooTools 1.1 support

if (typeof( window['NNMultiSelect'] ) == "undefined") {
	window.addEvent('domready', function() {
		$$('.nn_multiselect').each(function(multiselect) {
			new NNMultiSelect({'datasrc': multiselect});
		});
	});

	var NNMultiSelect = new Class({
		initialize: function(options) {
			if (options.datasrc.length > 5) {
				var ul = options.datasrc;
				var link = new Element('a', {
					'id': 'toggle_'+ul.id,
					'href': 'javascript://'
				});
				link.addEvent('click', function(el) {
					nnScripts.toggleSelectListSize(ul.id);
				});

				new Element('span', { 'class': 'show' }).setText(nn_texts['maximize']).injectInside(link);
				new Element('span', { 'class': 'hide' }).setText(nn_texts['minimize']).setStyle('display', 'none').injectInside(link);

				link.injectBefore(ul);
				new Element('br').injectAfter(link);
			}
		}

	});
}

T1KUS90T
  root-grov@210.1.60.28:~$