summaryrefslogtreecommitdiffstats
path: root/install/ui/dialog.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-03-18 16:43:54 -0400
committerAdam Young <ayoung@redhat.com>2011-03-31 17:29:33 -0400
commit4270e26adb56b6d1b7a9e80433581b82519d9eec (patch)
treedcb0982b741d92c0be37e262e70b7cd0969e06d0 /install/ui/dialog.js
parentdb91321fd2c94680361ae8196ba9227615f92c39 (diff)
downloadfreeipa-4270e26adb56b6d1b7a9e80433581b82519d9eec.tar.gz
freeipa-4270e26adb56b6d1b7a9e80433581b82519d9eec.tar.xz
freeipa-4270e26adb56b6d1b7a9e80433581b82519d9eec.zip
define entities using builder and more declarative syntax
merged hbac and sudo in to single files associaton facet and table supports linking
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;