• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/file.php
  • Класс: CFile
  • Вызов: CFile::KeyPress
function KeyPress(e)"+
	"{"+
	"	if (!e) e = window.event;"+
	"	if(e.keyCode == 27) "+
	"		window.close();"+
	"}