summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/dialog.js')
-rw-r--r--install/ui/src/freeipa/dialog.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/dialog.js b/install/ui/src/freeipa/dialog.js
index 941ff8a29..39c48efd3 100644
--- a/install/ui/src/freeipa/dialog.js
+++ b/install/ui/src/freeipa/dialog.js
@@ -204,6 +204,15 @@ IPA.dialog = function(spec) {
return that;
};
+ /**
+ * Get field
+ * @param {string} name Field name
+ * @returns {IPA.field}
+ */
+ that.get_field = function(name) {
+ return that.fields.get_field(name);
+ };
+
/** Validate dialog fields */
that.validate = function() {
var valid = true;