From 6a034abf953ab756c69de5ec7a838d259d229bea Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 11 Apr 2013 13:07:53 +0200 Subject: Rename factory to $factory in spec objects https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/sudo.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'install/ui/src/freeipa/sudo.js') diff --git a/install/ui/src/freeipa/sudo.js b/install/ui/src/freeipa/sudo.js index 6a1f82511..e9cf6a607 100644 --- a/install/ui/src/freeipa/sudo.js +++ b/install/ui/src/freeipa/sudo.js @@ -62,7 +62,7 @@ IPA.sudo.rule_entity = function(spec) { ] }). details_facet({ - factory: IPA.sudorule_details_facet, + $factory: IPA.sudorule_details_facet, entity: that, command_mode: 'info', actions: [ @@ -75,7 +75,7 @@ IPA.sudo.rule_entity = function(spec) { state: { evaluators: [ { - factory: IPA.enable_state_evaluator, + $factory: IPA.enable_state_evaluator, field: 'ipaenabledflag' } ], @@ -267,7 +267,7 @@ IPA.sudorule_details_facet = function(spec) { spec.widgets.push( { - factory: IPA.sudo.options_section, + $factory: IPA.sudo.options_section, name: 'options', label: '@i18n:objects.sudorule.options', facet: that @@ -301,12 +301,12 @@ IPA.sudorule_details_facet = function(spec) { spec.widgets.push( { - factory: IPA.collapsible_section, + $factory: IPA.collapsible_section, name: 'user', label: '@i18n:objects.sudorule.user', widgets: [ { - factory: IPA.rule_details_widget, + $factory: IPA.rule_details_widget, name: 'rule', radio_name: 'usercategory', options: [ @@ -376,12 +376,12 @@ IPA.sudorule_details_facet = function(spec) { spec.widgets.push( { - factory: IPA.collapsible_section, + $factory: IPA.collapsible_section, name: 'host', label: '@i18n:objects.sudorule.host', widgets: [ { - factory: IPA.rule_details_widget, + $factory: IPA.rule_details_widget, name: 'rule', radio_name: 'hostcategory', options: [ @@ -462,18 +462,18 @@ IPA.sudorule_details_facet = function(spec) { spec.widgets.push( { - factory: IPA.collapsible_section, + $factory: IPA.collapsible_section, name: 'command', label: '@i18n:objects.sudorule.command', widgets: [ { - factory: IPA.header_widget, + $factory: IPA.header_widget, name: 'allow_header', text: '@i18n:objects.sudorule.allow', description: '@i18n:objects.sudorule.allow' }, { - factory: IPA.rule_details_widget, + $factory: IPA.rule_details_widget, name: 'rule', radio_name: 'cmdcategory', options: [ @@ -512,7 +512,7 @@ IPA.sudorule_details_facet = function(spec) { ] }, { - factory: IPA.header_widget, + $factory: IPA.header_widget, name: 'deny_header', text: '@i18n:objects.sudorule.deny', description: '@i18n:objects.sudorule.deny' @@ -578,12 +578,12 @@ IPA.sudorule_details_facet = function(spec) { spec.widgets.push( { - factory: IPA.collapsible_section, + $factory: IPA.collapsible_section, name: 'runas', label: '@i18n:objects.sudorule.runas', widgets: [ { - factory: IPA.rule_details_widget, + $factory: IPA.rule_details_widget, name: 'runas_users', radio_name: 'ipasudorunasusercategory', options: [ @@ -617,7 +617,7 @@ IPA.sudorule_details_facet = function(spec) { ] }, { - factory: IPA.rule_details_widget, + $factory: IPA.rule_details_widget, name: 'runas_groups', radio_name: 'ipasudorunasgroupcategory', options: [ -- cgit