diff options
author | Adam Young <ayoung@redhat.com> | 2011-01-14 12:16:25 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-01-15 03:35:42 +0000 |
commit | d49cf9ee614f1d42ae06468e43e4214ad2fca9df (patch) | |
tree | 04adf3c4a97a533bab04dd3eee8ec8fd82f14909 /install/static/aci.js | |
parent | bd965c92d829f9d88f4e29f37890c9beffbd716d (diff) | |
download | freeipa-d49cf9ee614f1d42ae06468e43e4214ad2fca9df.tar.gz freeipa-d49cf9ee614f1d42ae06468e43e4214ad2fca9df.tar.xz freeipa-d49cf9ee614f1d42ae06468e43e4214ad2fca9df.zip |
lint clean added a config file for running jsl. run 'jsl -conf jsl.conf' and see that there are no error messages.
Diffstat (limited to 'install/static/aci.js')
-rw-r--r-- | install/static/aci.js | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/install/static/aci.js b/install/static/aci.js index 9d3ee546..77f147c1 100644 --- a/install/static/aci.js +++ b/install/static/aci.js @@ -1,3 +1,5 @@ +/*jsl:import ipa.js */ + /* Authors: * Adam Young <ayoung@redhat.com> * @@ -257,6 +259,7 @@ IPA.rights_widget = function(spec){ return that; }; + IPA.hidden_widget = function(spec){ spec.label = ''; var that = IPA.widget(spec); @@ -280,6 +283,7 @@ IPA.hidden_widget = function(spec){ return that; }; + IPA.rights_section = function () { var spec = { 'name':'rights', @@ -289,7 +293,8 @@ IPA.rights_section = function () { that.add_field(IPA.rights_widget({name:'permissions'})); return that; -} +}; + IPA.target_section = function () { var spec = { @@ -458,7 +463,7 @@ IPA.target_section = function () { that.create = function(container) { - dl = $('<dl class="entryattrs"/>').appendTo(container); + var dl = $('<dl class="entryattrs"/>').appendTo(container); display_filter_target(dl); display_query_target(dl); @@ -556,9 +561,7 @@ IPA.target_section = function () { }); }; return that; -} - - +}; IPA.permission = function () { @@ -590,7 +593,8 @@ IPA.permission = function () { }; return that; -} +}; + IPA.add_entity(IPA.permission()); @@ -621,7 +625,7 @@ IPA.permission_add_dialog = function (spec) { return that; -} +}; IPA.permission_search_facet = function (spec) { @@ -634,7 +638,7 @@ IPA.permission_search_facet = function (spec) { that.search_facet_init(); }; return that; -} +}; IPA.permission_details_facet = function () { @@ -672,7 +676,8 @@ IPA.permission_details_facet = function () { that.superior_update(on_win, on_fail); }; return that; -} +}; + IPA.add_entity( function() { var that = IPA.entity({ |