diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2015-04-21 18:16:17 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-05-20 14:04:10 +0200 |
commit | 69bc4f4955c8ee0bdbeea5ca340a003c128e9a58 (patch) | |
tree | 46f32bc5b0da83d06844002e8aa87181f185e3c9 /install | |
parent | a4c0f780b727cc92a9b6fa21e42906a80f4f7d42 (diff) | |
download | freeipa-69bc4f4955c8ee0bdbeea5ca340a003c128e9a58.tar.gz freeipa-69bc4f4955c8ee0bdbeea5ca340a003c128e9a58.tar.xz freeipa-69bc4f4955c8ee0bdbeea5ca340a003c128e9a58.zip |
webui: rename IPA.user_* to IPA.user.*
Or in other words, move all objects which belong to user module to the module.
Therefore they no longer pollutes the main 'IPA' module.
Therefore:
require('freeipa/ipa').user == require('freeipa/user')
Reviewed-By: David Kupka <dkupka@redhat.com>
Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/src/freeipa/user.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index 4f53a27cf..72d295020 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -125,7 +125,7 @@ return { fields: [ 'uid', { - $factory: IPA.user_password_widget, + $factory: IPA.user.password_widget, name: 'has_password', metadata: '@mo-param:user:userpassword' }, @@ -361,7 +361,7 @@ return { $pre_ops: [ IPA.user.association_facet_ss_pre_op ] }, adder_dialog: { - $factory: IPA.user_adder_dialog, + $factory: IPA.user.adder_dialog, sections: [ { fields: [ @@ -472,7 +472,7 @@ IPA.user.association_facet_ss_pre_op = function(spec, context) { }; -IPA.user_adder_dialog = function(spec) { +IPA.user.adder_dialog = function(spec) { var that = IPA.entity_adder_dialog(spec); @@ -501,7 +501,7 @@ IPA.user_adder_dialog = function(spec) { return that; }; -IPA.user_password_widget = function(spec) { +IPA.user.password_widget = function(spec) { spec = spec || {}; spec.read_only = true; |