');
}
}
if (json['error']['option']) {
for (i in json['error']['option']) {
var element = $('#input-option' + i.replace('_', '-'));
if (element.parent().hasClass('input-group')) {
element.parent().after('
' + json['error']['option'][i] + '
');
} else {
element.after('
' + json['error']['option'][i] + '
');
}
}
}
if (json['error']['recurring']) {
$('select[name=\'recurring_id\']').after('
' + json['error']['recurring'] + '
');
}
// Highlight any found errors
$('.text-danger').parent().addClass('has-error');
}
if (json['success']) {
//$('.breadcrumb').after('
Please note that this website uses cookies. When you agree, click the "I Agree" button or continue browsing. You can revoke your consent at any time by changing your web browser settings and deleting the saved cookies.