Skip to content

Commit

Permalink
v3 fix: .editable(false) on "reference" type field in EditView
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasia Korobkin committed Mar 15, 2015
1 parent c8960a4 commit b71d686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/ng-admin/Crud/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ define(function (require) {
return RetrieveQueries.getOne(view, $stateParams.id);
}],
referencedValues: ['RetrieveQueries', 'view', 'rawEntry', function (RetrieveQueries, view, rawEntry) {
return RetrieveQueries.getReferencedValues(view.getReferences(), [rawEntry.values]);
return RetrieveQueries.getReferencedValues(view.getReferences(), null);
}],
referencedListValues: ['$stateParams', 'RetrieveQueries', 'view', 'rawEntry', function ($stateParams, RetrieveQueries, view, rawEntry) {
var sortField = $stateParams.sortField,
Expand Down

0 comments on commit b71d686

Please sign in to comment.