From 6e614ee4b7bd7274dd456248382ab1c4da566cd7 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 13 Jan 2016 18:36:44 +0000 Subject: [PATCH] Fix wrong action ID --- calendar/js/et2_widget_event.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index ebb579362b..aaf82da24b 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -699,15 +699,15 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM], // Get the top level element - timegrid or so var objectManager = this.getParent().getParent()._actionObject || egw_getAppObjectManager(true).getObjectById(this._parent._parent._parent.id) || egw_getAppObjectManager(true); - this._actionObject = objectManager.getObjectById('calendar::'+this.id); + this._actionObject = objectManager.getObjectById('calendar::'+this.options.value.id); } if (this._actionObject == null) { // Add a new container to the object manager which will hold the widget // objects this._actionObject = objectManager.insertObject(false, new egwActionObject( - 'calendar::'+this.id, objectManager, new et2_event_action_object_impl(this,this.getDOMNode()), - this._actionManager || objectManager.manager.getActionById(this.id) || objectManager.manager + 'calendar::'+this.options.value.id, objectManager, new et2_event_action_object_impl(this,this.getDOMNode()), + this._actionManager || objectManager.manager.getActionById(this.options.value.id) || objectManager.manager )); } else