Merge branch '990-advise-links-doesnt-work-in-open-version-dev' into 'develop'
Changed bad ajax call See merge request !562
This commit is contained in:
commit
3ae20056fc
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue