Commit 767c90c9 authored by Robert Ricci's avatar Robert Ricci

Merge branch 'master' into 'master'

Fix for shifting labels on finalize step

Fix for issue #155 . The problem was in the ClearFormErrors function. Instead of hiding only the labels with '.control-error', all '.control-label's were instead being hidden

See merge request !15
parents 3a393a2d 38859fb5
......@@ -804,7 +804,7 @@ function (_, Constraints, sup, ppstart, JacksEditor, wt,
function ClearFormErrors() {
$('.step-forms').find('.format-me').each(function () {
var input = $(this).find(":input")[0];
var label = $(this).find(".control-label")[0];
var label = $(this).find(".control-error")[0];
var key = $(input).data("key");
if (key) {
$(this).removeClass("has-error");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment