Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/admin_templates/js/forms.js
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | |||||
last_shown_error = false; | last_shown_error = false; | ||||
}); | }); | ||||
} | } | ||||
/*else { | /*else { | ||||
console.log('error: focusing failed for [', prefix, '.', field, '] = ', element); | console.log('error: focusing failed for [', prefix, '.', field, '] = ', element); | ||||
}*/ | }*/ | ||||
if ( typeof(first_error[prefix]) == 'undefined' || first_error[prefix] == false ) { | if ( typeof(first_error[prefix]) == 'undefined' || first_error[prefix] == false ) { | ||||
first_error[prefix] = [field, element]; | first_error[prefix] = [field, $input_fields.length > 0 ? $input_fields.first().attr('id') : element]; | ||||
} | } | ||||
} | } | ||||
function FCKeditor_OnComplete( editor ) | function FCKeditor_OnComplete( editor ) | ||||
{ | { | ||||
Form.Resize(); | Form.Resize(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 316 Lines • Show Last 20 Lines |