From 6c47da8f64439014b4ddcfe64f7b2c00b953517d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 13 Jun 2016 16:04:11 +0200 Subject: [PATCH] we need to set a different dom-id for each application and also global categories of that app otherwise eT2 objects are overwritter when a second categories template is shown --- admin/inc/class.admin_categories.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/inc/class.admin_categories.inc.php b/admin/inc/class.admin_categories.inc.php index a007aaff12..e3fd84e80c 100644 --- a/admin/inc/class.admin_categories.inc.php +++ b/admin/inc/class.admin_categories.inc.php @@ -608,6 +608,9 @@ class admin_categories } $tmpl = new Etemplate('admin.categories.index'); + // we need to set a different dom-id for each application and also global categories of that app + // otherwise eT2 objects are overwritter when a second categories template is shown + $tmpl->set_dom_id($appname.'.'.$this->appname.'.categories.index'); // Category styles Categories::css($appname);