Skip to content

Commit

Permalink
CSPACE-5092: Fixing an issue with navigating to records from listview…
Browse files Browse the repository at this point in the history
… without offset.
  • Loading branch information
yzen committed Apr 20, 2012
1 parent eafa636 commit 212771a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/defaults/js/ListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ cspace = cspace || {};
}, cspace.util.provideErrorCallback(that, that.dataSource.resolveUrl(directModel), "errorFetching"));
};
that.styleAndActivate = function (row, rows) {
var index = rows.index(row),
var index = that.model.offset + rows.index(row),
record = that.model.list[index];
if (!cspace.permissions.resolve({
permission: "read",
Expand Down

0 comments on commit 212771a

Please sign in to comment.