summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/src/freeipa/_base/Construct_registry.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/_base/Construct_registry.js b/install/ui/src/freeipa/_base/Construct_registry.js
index 7184c144..f399c944 100644
--- a/install/ui/src/freeipa/_base/Construct_registry.js
+++ b/install/ui/src/freeipa/_base/Construct_registry.js
@@ -35,7 +35,7 @@ define(['dojo/_base/declare',
* Internal map for construction specifications.
* @protected
*/
- _map: {},
+ _map: null,
/**
* Registers construction specification
@@ -191,6 +191,10 @@ define(['dojo/_base/declare',
if (!lang.isArrayLike(spec.post_ops)) {
throw 'Argument exception: Invalid post_ops type.';
}
+ },
+
+ constructor: function(spec) {
+ this._map = {};
}
});