mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 15:59:07 +01:00
Fix wrong action ID
This commit is contained in:
parent
f9886b12bf
commit
6e614ee4b7
@ -699,15 +699,15 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
// Get the top level element - timegrid or so
|
// Get the top level element - timegrid or so
|
||||||
var objectManager = this.getParent().getParent()._actionObject ||
|
var objectManager = this.getParent().getParent()._actionObject ||
|
||||||
egw_getAppObjectManager(true).getObjectById(this._parent._parent._parent.id) || egw_getAppObjectManager(true);
|
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) {
|
if (this._actionObject == null) {
|
||||||
// Add a new container to the object manager which will hold the widget
|
// Add a new container to the object manager which will hold the widget
|
||||||
// objects
|
// objects
|
||||||
this._actionObject = objectManager.insertObject(false, new egwActionObject(
|
this._actionObject = objectManager.insertObject(false, new egwActionObject(
|
||||||
'calendar::'+this.id, objectManager, new et2_event_action_object_impl(this,this.getDOMNode()),
|
'calendar::'+this.options.value.id, objectManager, new et2_event_action_object_impl(this,this.getDOMNode()),
|
||||||
this._actionManager || objectManager.manager.getActionById(this.id) || objectManager.manager
|
this._actionManager || objectManager.manager.getActionById(this.options.value.id) || objectManager.manager
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user