diff options
author | Adam Young <ayoung@redhat.com> | 2011-02-10 16:48:17 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-11 15:04:31 -0500 |
commit | d14ef576c3bd1df3bb29033bdaf85ed0053d889d (patch) | |
tree | 117870e3a53a3ed8cea45a2cc0bdbf5c158408ce /install/ui/aci.js | |
parent | 6f6d50f37f21db2a5591fa44c962eea04b82f596 (diff) | |
download | freeipa-d14ef576c3bd1df3bb29033bdaf85ed0053d889d.tar.gz freeipa-d14ef576c3bd1df3bb29033bdaf85ed0053d889d.tar.xz freeipa-d14ef576c3bd1df3bb29033bdaf85ed0053d889d.zip |
column formatting Allow optional formatting for columns Provide Data formate for host modificaiton
date format
Diffstat (limited to 'install/ui/aci.js')
-rw-r--r-- | install/ui/aci.js | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js index 494bd9a5b..89caec040 100644 --- a/install/ui/aci.js +++ b/install/ui/aci.js @@ -227,21 +227,28 @@ IPA.target_section = function(spec) { that.add_field(that.attribute_table); + /*TODO these next two functions are work arounds for missing attribute + permissions for the filter text. Remove them once that has been fixed */ that.filter_text.update = function(){ var value = that.filter_text.values && that.filter_text.values.length ? that.filter_text.values[0] : ''; - $('input[name="'+that.filter_text.name+'"]', that.filter_text.container).val(value); + $('input[name="'+that.filter_text.name+'"]', + that.filter_text.container).val(value); var label = $('label[name="'+that.filter_text.name+'"]', that.filter_text.container); var input = $('input[name="'+that.filter_text.name+'"]', that.filter_text.container); - - label.css('display', 'none'); - input.css('display', 'inline'); - + label.css('display', 'none'); + input.css('display', 'inline'); }; + that.filter_text.save = function(){ + var input = $('input[name="'+that.filter_text.name+'"]', + that.filter_text.container); + var value = $.trim(input.val()); + return value === '' ? [] : [value]; + }; var target_types = [ { |