diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-02-07 22:47:24 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-02-12 15:57:18 -0500 |
commit | 71a03d3b4d9c3627a4cf3d2c0b2ba061d15ecda2 (patch) | |
tree | e500618c49174fa14a35d3a340b9e47eee01715a /base/server/share/webapps | |
parent | 310e410dfc1916e19b3aca655bbfedc62db35216 (diff) | |
download | pki-71a03d3b4d9c3627a4cf3d2c0b2ba061d15ecda2.tar.gz pki-71a03d3b4d9c3627a4cf3d2c0b2ba061d15ecda2.tar.xz pki-71a03d3b4d9c3627a4cf3d2c0b2ba061d15ecda2.zip |
Fixed pagination in TPS UI.
The pagination in TPS UI no longer worked due to Jackson change. The
Collection class has been fixed to read the correct attribute names
for pagination links. The table size has been changed to 5 rows.
Ticket #654
Diffstat (limited to 'base/server/share/webapps')
-rw-r--r-- | base/server/share/webapps/pki/js/pki-ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/server/share/webapps/pki/js/pki-ui.js b/base/server/share/webapps/pki/js/pki-ui.js index d35de5893..c257d28ca 100644 --- a/base/server/share/webapps/pki/js/pki-ui.js +++ b/base/server/share/webapps/pki/js/pki-ui.js @@ -93,8 +93,8 @@ var Collection = Backbone.Collection.extend({ var self = this; self.links = {}; _(links).each(function(link) { - var name = link["@rel"]; - var href = link["@href"]; + var name = link.rel; + var href = link.href; self.links[name] = href; }); }, |