Skip to content

Commit

Permalink
Allow listActions on ReferencedList
Browse files Browse the repository at this point in the history
Closes #269
  • Loading branch information
fzaninotto committed Jan 31, 2015
1 parent cb22edb commit f61533b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/javascripts/ng-admin/Crud/column/maColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ define(function (require) {
element.append(
'<ma-datagrid name="{{ field.getReferencedView().name() }}"' +
'entries="field.entries"' +
'fields="field.getReferencedView().fields() | orderElement"' +
'entity="field.getReferencedView().entity"' +
'listActions="[]">' +
'fields="::field.getReferencedView().fields() | orderElement"' +
'list-actions="::field.listActions()"' +
'entity="::field.getReferencedView().entity">' +
'</ma-datagrid>'
);
$compile(element.contents())(scope);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ define(function (require) {
var config = {
edition: 'editable',
targetReferenceField: null,
targetFields: []
targetFields: [],
listActions: null
};

/**
Expand Down

0 comments on commit f61533b

Please sign in to comment.