reportErrors: function(errors) {
var global = $("*[data-ui-error-for='__all__']", this.$elem);
var unassigned = [];
+ var unassigned_text = '';
for (var field_name in errors)
{
if(!span.length) {
unassigned.push(field_name);
+ unassigned_text += errors[field_name];
continue;
}
}
if(unassigned.length > 0)
- global.text( global.text() + 'W formularzu wystąpiły błędy');
+ global.text( global.text() + unassigned_text);
}
};