File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/landing/install/js/landing/connector/intranet/src/intranet.js
Back
import {Loc} from 'landing.loc'; import {MessageBox} from 'ui.dialogs.messagebox'; export class Intranet { static unbindMenuItem(bindCode, entityId, title) { MessageBox.confirm( Loc.getMessage('LANDING_CONNECTOR_INTRANET_HIDE_ALERT_MESSAGE'), Loc.getMessage('LANDING_CONNECTOR_INTRANET_HIDE_ALERT_TITLE').replaceAll('#title#', title), () => { BX.ajax({ url: BX.message('SITE_DIR') + 'kb/binding/menu/', method: 'POST', data: { action: 'unbind', param: entityId, menuId: bindCode, sessid: BX.message('bitrix_sessid'), actionType: 'json' }, dataType: 'json', onsuccess: data => { if (data) { top.window.location.reload(); } } }); }, Loc.getMessage('LANDING_CONNECTOR_INTRANET_HIDE_ALERT_BUTTON') ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings