diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-11 17:02:48 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:24 +0200 |
commit | 3b77c63b2acfc36b4f8472018acc2d177c8fd0db (patch) | |
tree | aa4fcbf07a8404e317e3d75b9974ab1fbcb5d372 /install/ui/src/freeipa/entity.js | |
parent | 0dc4b133fb0795b9c55f8a9fc95b55bc4df7ebf2 (diff) | |
download | freeipa-3b77c63b2acfc36b4f8472018acc2d177c8fd0db.tar.gz freeipa-3b77c63b2acfc36b4f8472018acc2d177c8fd0db.tar.xz freeipa-3b77c63b2acfc36b4f8472018acc2d177c8fd0db.zip |
Use IPA.object() as a base factory for framework objects
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/entity.js')
-rw-r--r-- | install/ui/src/freeipa/entity.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/src/freeipa/entity.js b/install/ui/src/freeipa/entity.js index 2470ac3f7..2d0e97f84 100644 --- a/install/ui/src/freeipa/entity.js +++ b/install/ui/src/freeipa/entity.js @@ -32,7 +32,7 @@ IPA.entity = function(spec) { IPA.details_facet_update_policy() ]; - var that = {}; + var that = IPA.object(); that.name = spec.name; that.label = text.get(spec.label); @@ -172,7 +172,7 @@ IPA.entity = function(spec) { IPA.entity_builder = function() { - var that = {}; + var that = IPA.object(); var entity = null; var facet_group = null; @@ -422,7 +422,7 @@ IPA.entity_builder = function() { IPA.dialog_builder = function(entity) { - var that = {}; + var that = IPA.object(); that.build_dialogs = function() { @@ -450,7 +450,7 @@ IPA.entity_policy = function(spec) { spec = spec || {}; - var that = {}; + var that = IPA.object(); that.entity = spec.entity; @@ -462,7 +462,7 @@ IPA.entity_policy = function(spec) { IPA.entity_policies = function(spec) { - var that = {}; + var that = IPA.object(); that.entity = spec.entity; that.policies = []; |