mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 20:39:13 +02:00
getting server supplied actions working, thought actions submitting the form do not yet work
This commit is contained in:
@@ -90,12 +90,13 @@ var et2_dataview_row = et2_dataview_container.extend(et2_dataview_IDataRow, {
|
||||
var aom = this.dataProvider.getActionObjectManager();
|
||||
if (aom)
|
||||
{
|
||||
this.actionObject = aom.addObject("row" + this._idx,
|
||||
// this is rather hackisch, but I have no idea how to get action_links & row_id here otherwise
|
||||
this.actionObject = aom.addObject(_data.content[aom.manager.row_id],
|
||||
new et2_dataview_rowAOI(this.tr[0]));
|
||||
|
||||
// TODO: The action links should be inside the data and not inside
|
||||
// the row classes...
|
||||
this.actionObject.updateActionLinks(["view","edit"]);
|
||||
this.actionObject.updateActionLinks(aom.manager.action_links);
|
||||
}
|
||||
|
||||
// Reset the height
|
||||
|
Reference in New Issue
Block a user