%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/bitrix/www/bitrix/components/bitrix/idea.search/templates/.default/
Upload File :
Create Path :
Current File : //proc/self/root/home/bitrix/www/bitrix/components/bitrix/idea.search/templates/.default/script.js

BX.ready(function(){
	BX.bind(
		BX('bx-idea-lifesearch-field'),
		'focus',
		function(){
			if(this.value == BX.message('IDEA_SEARCH_DEFAULT'))
				this.value = '';
		}
	);

	BX.bind(
		BX('bx-idea-lifesearch-field'),
		'blur',
		function(){
			if(this.value == "")
				this.value = BX.message('IDEA_SEARCH_DEFAULT');
		}
	);

	BX.fireEvent(BX('bx-idea-lifesearch-field'), 'blur');
})

Zerion Mini Shell 1.0