[Kimchi-devel] [PATCH] Fix typo while processing request data

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Fri Apr 11 21:00:18 UTC 2014


Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
Tested-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>

On 04/11/2014 05:47 PM, Aline Manera wrote:
> From: Aline Manera <alinefm at 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 at 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 {




More information about the Kimchi-devel mailing list