From 726955234224761afb9c77d1db0cf4c2f6e29a74 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 18 Mar 2015 21:30:22 +0000 Subject: [PATCH] fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]" --- etemplate/js/et2_core_arrayMgr.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_arrayMgr.js b/etemplate/js/et2_core_arrayMgr.js index 625434bfac..43075bbd7d 100644 --- a/etemplate/js/et2_core_arrayMgr.js +++ b/etemplate/js/et2_core_arrayMgr.js @@ -156,7 +156,8 @@ var et2_arrayMgr = Class.extend( if (this.perspectiveData.key != null) { - _path.unshift(this.perspectiveData.key); + // prepend components of this.perspectiveData.key to path, can be more then one eg. "nm[rows]" + _path = this.perspectiveData.key.replace(/]/g, '').split('[').concat(_path); } if (this.parentMgr != null)