From d49cf9ee614f1d42ae06468e43e4214ad2fca9df Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 14 Jan 2011 12:16:25 -0500 Subject: lint clean added a config file for running jsl. run 'jsl -conf jsl.conf' and see that there are no error messages. --- install/static/aci.js | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'install/static/aci.js') 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 * @@ -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 = $('
').appendTo(container); + var dl = $('
').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({ -- cgit