Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/components/bitrix/player/js/ |
Upload File : |
function ComponentPropsEditPlaylistDialog(arParams) { var arData = arParams.data.split('||'), oBut = arParams.oCont.appendChild(BX.create("INPUT", {props: {'type': 'button', value: arData[0] || ''}})); oBut.onclick = function() { var arElements = arParams.getElements(); if (!arElements || !arElements.PATH) return; var path = arElements.PATH.value; if (!path || path.lastIndexOf('.') == -1) return alert(arData[1] || 'Incorrect path to playlist'); window.oPlaylistDialog = new BX.CDialog({ content_url: '/bitrix/components/bitrix/player/player_playlist_edit.php?lang=ru&site=ru&path=' + BX.util.urlencode(path) + '&target=editor', width: 800, height: 350, min_height: 300, min_width: 800, resizable: true }); BX.addClass(window.oPlaylistDialog.PARTS.CONTENT, "bx-playlist-edit"); window.oPlaylistDialog.Show(); } }