All of Privet.
Write a small module that is experiencing the problem.
On the page of the module connect the script method:
CJSCore::RegisterExt('partner_css_and_js', array( 'js' => array( '/bitrix/js/partner.module/scripts.js', ), 'css' => array( '/bitrix/css/partner.module/jquery.qtip.min.css', ), 'lang' => $rootFolder . '/lang/ru/admin_js.php', 'rel' => array('jquery') )); CJSCore::Init(array("partner_css_and_js"));
All well connected, but there was a need to declare a variable before plugin js scripts.
var adminParams = [...];
In this variable an array of values to be generated.
Tried using $APPLICATION->AddHeadString() but still displays after connecting the script.
Or how can I move the connect js in the admin panel in the footer?