From 68b84d1f652aae4644c2dde96d9bb99e358294e8 Mon Sep 17 00:00:00 2001 From: davide.cucurnia@vola.it <davide.cucurnia@vola.it> Date: Wed, 07 Feb 2024 10:18:30 +0100 Subject: [PATCH] struttura di base versione model based --- resources/views/vodafone_fake_sso/choose_profile.blade.php | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/resources/views/vodafone_fake_sso/choose_profile.blade.php b/resources/views/vodafone_fake_sso/choose_profile.blade.php index f37132a..7f5fa7a 100644 --- a/resources/views/vodafone_fake_sso/choose_profile.blade.php +++ b/resources/views/vodafone_fake_sso/choose_profile.blade.php @@ -84,7 +84,7 @@ document.getElementById("btnAttiva").onclick = setCookies; document.getElementById("btnReset").onclick = delCookies; - function callAjax(url, withReload = true) { + function callAjax(url) { document.getElementById('vola-loading').style.display = 'block'; let profile = document.getElementById('sel_attiva').value; $.ajax({ @@ -97,12 +97,8 @@ data: JSON.stringify({prof: profile}), }).done(function (msg) { document.getElementById('vola-loading').style.display = 'none'; - if (withReload) { - location.href = location.origin + "/get"; - } }).fail(function() { document.getElementById('vola-loading').style.display = 'none'; - location.href = location.origin + "/get"; }); } -- Gitblit v1.8.0