Server IP : 66.29.132.124 / Your IP : 18.191.103.29 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/wavestudioz.com/wp-content/plugins/elementor/app/assets/js/hooks/ |
Upload File : |
export default function useAction() { return { backToDashboard: () => { if ( window.top === window ) { window.top.location = elementorAppConfig.admin_url; } else { // Iframe. window.top.$e.run( 'app/close' ); } }, backToReferrer: () => { if ( window.top === window ) { // Directly - in case that the return_url is the login-page, the target should be the admin-page and not the login-page again. window.top.location = elementorAppConfig.return_url.includes( elementorAppConfig.login_url ) ? elementorAppConfig.admin_url : elementorAppConfig.return_url; } else { // Iframe. window.top.$e.run( 'app/close' ); } }, }; }