diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-26 15:13:26 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:30 +0200 |
commit | 348dc948fffc19ee4f44859eaa93b768620c36f1 (patch) | |
tree | 05c53f042214ac55bd238a09daf4851d09a8d9d9 /install/ui/src/freeipa/_base/Construct_registry.js | |
parent | 504fa6c786e661a77452132c77a06bfbf6796c5d (diff) | |
download | freeipa-348dc948fffc19ee4f44859eaa93b768620c36f1.tar.gz freeipa-348dc948fffc19ee4f44859eaa93b768620c36f1.tar.xz freeipa-348dc948fffc19ee4f44859eaa93b768620c36f1.zip |
Builder: fix join of pre_ops and post_ops arrays
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/_base/Construct_registry.js')
-rw-r--r-- | install/ui/src/freeipa/_base/Construct_registry.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/_base/Construct_registry.js b/install/ui/src/freeipa/_base/Construct_registry.js index bf423d5ab..d9489add3 100644 --- a/install/ui/src/freeipa/_base/Construct_registry.js +++ b/install/ui/src/freeipa/_base/Construct_registry.js @@ -102,8 +102,8 @@ define(['dojo/_base/declare', var cs = construct.clone(old_cs); cs.type = new_type; - if (def_cs.pre_ops) cs.pre_ops.push.call(cs.pre_ops, def_cs.pre_ops); - if (def_cs.post_ops) cs.post_ops.push.call(cs.post_ops, def_cs.post_ops); + if (def_cs.pre_ops) cs.pre_ops.push.apply(cs.pre_ops, def_cs.pre_ops); + if (def_cs.post_ops) cs.post_ops.push.apply(cs.post_ops, def_cs.post_ops); if (def_cs.factory) cs.factory = def_cs.factory; if (def_cs.ctor) cs.ctor = def_cs.ctor; if (def_cs.spec) { |