From 0377dbe0765215b5d6907c83b5b94584925f75eb Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 1 Apr 2014 21:32:06 +0000 Subject: [PATCH] Use tree's ActionManager for new ObjectManager, fixes "Action object with id 'mail_drop_move' does not exist" --- etemplate/js/et2_widget_tree.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_tree.js b/etemplate/js/et2_widget_tree.js index 1134abdd61..6b70962410 100644 --- a/etemplate/js/et2_widget_tree.js +++ b/etemplate/js/et2_widget_tree.js @@ -393,7 +393,10 @@ var et2_tree = et2_inputWidget.extend( if (treeObj == null) { // Add a new container to the object manager which will hold the tree // objects - treeObj = objectManager.addObject(this.id, null, EGW_AO_FLAG_IS_CONTAINER); + treeObj = objectManager.addObject( + new egwActionObject(this.id, objectManager, null, this._actionManager, EGW_AO_FLAG_IS_CONTAINER), + null, EGW_AO_FLAG_IS_CONTAINER + ); } // Delete all old objects