Skip to content
Snippets Groups Projects
Commit 41cd1ead authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix for showing max number of entries in DJ

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2964 44740490-163a-0410-bde0-09ae8108e29a
parent 42e307da
No related branches found
No related tags found
No related merge requests found
...@@ -295,7 +295,7 @@ DiscoJuice.UI = { ...@@ -295,7 +295,7 @@ DiscoJuice.UI = {
if (showmore) { if (showmore) {
var moreLink = '<a class="discojuice_showmore textlink" href="">' + this.sprintf(DiscoJuice.Dict.moreLink, show, listcount)+ '…</a>'; var moreLink = '<a class="discojuice_showmore textlink" href="">' + this.sprintf(DiscoJuice.Dict.moreLink, show, this.parent.Control.data.length)+ '…</a>';
this.popup.find("p.discojuice_moreLinkContainer").empty().append(moreLink); this.popup.find("p.discojuice_moreLinkContainer").empty().append(moreLink);
this.popup.find("p.discojuice_moreLinkContainer a.discojuice_showmore").click(function(event) { this.popup.find("p.discojuice_moreLinkContainer a.discojuice_showmore").click(function(event) {
event.preventDefault(); event.preventDefault();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment