mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed bug when return button in initial wizard
This commit is contained in:
parent
b330331e85
commit
840a50bea2
@ -47,6 +47,12 @@ if (is_ajax()) {
|
|||||||
|
|
||||||
$open_wizard = get_parameter ('open_wizard', 0);
|
$open_wizard = get_parameter ('open_wizard', 0);
|
||||||
$not_return = get_parameter ('not_return', 0);
|
$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);
|
||||||
|
}
|
||||||
|
|
||||||
if ($open_wizard) {
|
if ($open_wizard) {
|
||||||
|
|
||||||
@ -244,6 +250,12 @@ $("#submit-return_dialog_button").click (function () {
|
|||||||
$("#login_accept_register" ).dialog('close');
|
$("#login_accept_register" ).dialog('close');
|
||||||
$("#all-required").hide();
|
$("#all-required").hide();
|
||||||
$("#login_id_dialog" ).dialog('open');
|
$("#login_id_dialog" ).dialog('open');
|
||||||
|
|
||||||
|
jQuery.post ("ajax.php",
|
||||||
|
{"page": "general/login_identification_wizard",
|
||||||
|
"reset_initial_wizard": 1},
|
||||||
|
function (data) {}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#submit-finish_dialog_button").click (function () {
|
$("#submit-finish_dialog_button").click (function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user