summaryrefslogtreecommitdiffstats
path: root/install/ui/dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/dialog.js')
-rw-r--r--install/ui/dialog.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js
index 1b2f3192a..17e78af6d 100644
--- a/install/ui/dialog.js
+++ b/install/ui/dialog.js
@@ -79,6 +79,15 @@ IPA.dialog = function(spec) {
return that;
};
+ that.text = function(name){
+ that.field(IPA.text_widget({
+ name: name,
+ undo: false,
+ entity_name : that.entity_name
+ }));
+ return that;
+ };
+
that.add_section = function(section) {
that.sections.push(section);
return that;