From d101d9abdc398ad4a9e2ab848cbe964f9cca4c42 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Wed, 7 Jun 2017 11:28:09 +0200 Subject: [PATCH] Changed bad ajax call --- pandora_console/general/login_identification_wizard.php | 1 - pandora_console/index.php | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pandora_console/general/login_identification_wizard.php b/pandora_console/general/login_identification_wizard.php index 4f97a2c2f3..1f5cabd740 100644 --- a/pandora_console/general/login_identification_wizard.php +++ b/pandora_console/general/login_identification_wizard.php @@ -49,7 +49,6 @@ if (is_ajax()) { $not_return = get_parameter ('not_return', 0); $reset_initial_wizard = get_parameter ('reset_initial_wizard', 0); - if ($reset_initial_wizard) { config_update_value ('initial_wizard', 0); } diff --git a/pandora_console/index.php b/pandora_console/index.php index 79aaca3ffb..68e1061d32 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -1093,11 +1093,11 @@ require('include/php_to_js_values.php'); function first_time_identification () { run_identification_wizard (-1, -1, 1); } + var times_fired_register_wizard = 0; + function run_identification_wizard (register, newsletter , return_button) { - if (times_fired_register_wizard) { - $(".ui-dialog-titlebar-close").show(); //Reset some values @@ -1127,10 +1127,9 @@ require('include/php_to_js_values.php'); $("#login_accept_register").dialog('open'); } else { - $(".ui-dialog-titlebar-close").show(); $("#container").append('
'); - jQuery.get ("ajax.php", + jQuery.post ("ajax.php", {"page": "general/login_identification_wizard", "not_return": 1, "force_register": register,