From 3b77c63b2acfc36b4f8472018acc2d177c8fd0db Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 11 Apr 2013 17:02:48 +0200 Subject: Use IPA.object() as a base factory for framework objects https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/association.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/association.js') diff --git a/install/ui/src/freeipa/association.js b/install/ui/src/freeipa/association.js index 505cbbfd..e378ad44 100644 --- a/install/ui/src/freeipa/association.js +++ b/install/ui/src/freeipa/association.js @@ -29,7 +29,7 @@ IPA.associator = function (spec) { spec = spec || {}; - var that = {}; + var that = IPA.object(); that.entity = IPA.get_entity(spec.entity); that.pkey = spec.pkey; @@ -327,7 +327,7 @@ IPA.association_config = function (spec) { spec = spec || {}; - var that = {}; + var that = IPA.object(); that.name = spec.name; that.associator = spec.associator; -- cgit