VoteUserType::__utch

  1. Bitrix24 API (v. 23.675.0)
  2. vote
  3. VoteUserType
  4. __utch
  • Модуль: vote
  • Путь к файлу: ~/bitrix/modules/vote/lib/uf/voteusertype.php
  • Класс: BitrixVoteUfVoteUserType
  • Вызов: VoteUserType::__utch
function __utch(show)
		{
			if (BX("UNIQUE_TYPE_IP").checked)
				BX.show(BX("DELAY_TYPE"), "");
			else
				BX.hide(BX("DELAY_TYPE"));

			var
				show = BX("UNIQUE_TYPE_USER_ID").checked,
				res = BX("UNIQUE_TYPE_USER_ID_NEW");
			res.disabled = !show;
			if (!!show)
				BX.show(res.parentNode.parentNode, "");
			else
				BX.hide(res.parentNode.parentNode);
		}

Добавить комментарий