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 ee3312d486..7e5cbcf263 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -1113,11 +1113,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 @@ -1147,10 +1147,9 @@ require('include/php_to_js_values.php'); $("#login_accept_register").dialog('open'); } else { - $(".ui-dialog-titlebar-close").show(); $("#container").append('<div class="id_wizard"></div>'); - jQuery.get ("ajax.php", + jQuery.post ("ajax.php", {"page": "general/login_identification_wizard", "not_return": 1, "force_register": register,