// Fix table verification when drop DB is activated on new installer
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12198 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -35,7 +35,7 @@ function process_install(step)
|
||||
success: function(json)
|
||||
{
|
||||
// No error during this step
|
||||
if (json.success)
|
||||
if (json && json.success)
|
||||
{
|
||||
$('#process_step_'+step.key).show().addClass('success');
|
||||
current_step++;
|
||||
@@ -60,7 +60,7 @@ function process_install(step)
|
||||
// An error occured during this step
|
||||
else
|
||||
{
|
||||
install_error(step, json.message);
|
||||
install_error(step, (json) ? json.message : '');
|
||||
}
|
||||
},
|
||||
// An error HTTP (page not found, json not valid, etc.) occured during this step
|
||||
|
||||
Reference in New Issue
Block a user