From: Aline Manera <alinefm(a)br.ibm.com>
While trying to create multiple templates we got an error:
ReferenceError: result is not defined
result[key]=tmpArray;
Fix it.
Signed-off-by: Aline Manera <alinefm(a)br.ibm.com>
---
ui/js/src/kimchi.object.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.object.js b/ui/js/src/kimchi.object.js
index 3f2ccb9..57ec8d7 100644
--- a/ui/js/src/kimchi.object.js
+++ b/ui/js/src/kimchi.object.js
@@ -62,7 +62,7 @@ Object.defineProperty(Object.prototype, "setDeepValue", {
var tmpArray=[]
tmpArray.push(this[key]);
tmpArray.push(val);
- result[key]=tmpArray;
+ this[key]=tmpArray;
}
}
else {
--
1.7.10.4