From 4270e26adb56b6d1b7a9e80433581b82519d9eec Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 18 Mar 2011 16:43:54 -0400 Subject: define entities using builder and more declarative syntax merged hbac and sudo in to single files associaton facet and table supports linking --- install/ui/dialog.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'install/ui/dialog.js') diff --git a/install/ui/dialog.js b/install/ui/dialog.js index 1b2f3192..17e78af6 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; -- cgit