mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Refactored validation code.
The validation code in details facet, dialog, and sections have been modified to work more consistently.
This commit is contained in:
@@ -118,7 +118,7 @@ IPA.widget = function(spec) {
|
||||
}
|
||||
};
|
||||
|
||||
that.check_required = function() {
|
||||
that.validate_required = function() {
|
||||
var values = that.save();
|
||||
if (!values || !values.length || values[0] === '') {
|
||||
if (that.is_required()) {
|
||||
|
Reference in New Issue
Block a user