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
This commit is contained in:
Ralf Becker 2016-06-13 16:04:11 +02:00
parent 1778f8ef37
commit 6c47da8f64

View File

@ -608,6 +608,9 @@ class admin_categories
} }
$tmpl = new Etemplate('admin.categories.index'); $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 // Category styles
Categories::css($appname); Categories::css($appname);