From dc6995ed7b66044e78e001dd9afd416c576934bc Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 11 Apr 2013 15:38:38 +0200 Subject: Builder: fix overrides names - add $ https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/_base/Builder.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/ui/src/freeipa/_base') diff --git a/install/ui/src/freeipa/_base/Builder.js b/install/ui/src/freeipa/_base/Builder.js index e5301da7b..063261f37 100644 --- a/install/ui/src/freeipa/_base/Builder.js +++ b/install/ui/src/freeipa/_base/Builder.js @@ -92,13 +92,13 @@ define(['dojo/_base/declare', c = this.ctor; if (typeof overrides === 'function') { if (construct.is_ctor(overrides)) { - overrides = { ctor: overrides }; + overrides = { $ctor: overrides }; } else { - overrides = { factory: overrides }; + overrides = { $factory: overrides }; } } - this.factory = overrides.factory; - this.ctor = overrides.ctor; + this.factory = overrides.$factory; + this.ctor = overrides.$ctor; } var objects; -- cgit