• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard.php
  • Класс: CWizardAdminTemplate
  • Вызов: CWizardAdminTemplate::AutoSubmit
function AutoSubmit()
		{
			var nextButton = document.forms["{$formName}"].elements["{$nextButtonID}"];
			if (nextButton)
			{
				var wizard = top.WizardWindow;
				if (wizard)
				{
					wizard.messLoading = "{$loadingText}";
					wizard.ShowWaitWindow();
				}

				nextButton.click();
				nextButton.disabled=true;
			}
		}