//Small fix

This commit is contained in:
Vincent Augagneur committed 2013-08-22 10:33:03 +02:00
1 parent eea79052e0
commit 6ad274e39d
1 file changed
+2 -2
+2 -2
View File
@@ -195,9 +195,9 @@ function displaySummary()
function validateSteps(fromStep, toStep) function validateSteps(fromStep, toStep)
{ {
var is_ok = true; var is_ok = true;
if ((multistore_enable && fromStep == 3) || (!multistore_enable && fromStep == 2) && toStep > fromStep) if ((multistore_enable && fromStep == 3) || (!multistore_enable && fromStep == 2))
{ {
if (!$('#is_free_on').attr('checked') && !validateRange(2)) if (toStep > fromStep && !$('#is_free_on').attr('checked') && !validateRange(2))
is_ok = false; is_ok = false;
} }