Skip to content

Commit

Permalink
removing pagination on playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolvin committed Nov 21, 2024
1 parent 3b27f2f commit 48b94cc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion current/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>com.coresecure.brightcove.cq5</groupId>
<artifactId>brightcove_connector</artifactId>
<version>6.0.8</version>
<version>6.0.9</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brightcove-services</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion current/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Copyright (C) 2019 3|SHARE Inc.
<groupId>com.coresecure.brightcove.cq5</groupId>
<artifactId>brightcove_connector</artifactId>
<packaging>pom</packaging>
<version>6.0.8</version>
<version>6.0.9</version>
<description>
Parent Maven POM for the 'Adobe CQ5 Brightcove Connector API' project.
</description>
Expand Down
4 changes: 2 additions & 2 deletions current/ui.apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<parent>
<groupId>com.coresecure.brightcove.cq5</groupId>
<artifactId>brightcove_connector</artifactId>
<version>6.0.8</version>
<version>6.0.9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -227,7 +227,7 @@
<dependency>
<groupId>com.coresecure.brightcove.cq5</groupId>
<artifactId>brightcove-services</artifactId>
<version>6.0.8</version>
<version>6.0.9</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
From Playlist
</button>
</div>
<div name="pageDiv" class="pageDiv">Page Number:
<div id="pagination" name="pageDiv" class="pageDiv">Page Number:
<select name="selPageN" onchange="changePage(this.selectedIndex)"></select>
</div>
</td>
Expand Down Expand Up @@ -180,7 +180,7 @@
From Playlist
</button>
</div>
<div name="pageDiv" class="pageDiv">
<div id="pagination" name="pageDiv" class="pageDiv">
Page Number:
<select name="selPageN" onchange="changePage(this.selectedIndex)"></select>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ function buildPlaylistList() {
document.getElementById('searchDiv').style.display = "none";
document.getElementById('searchDiv_pl').style.display = "inline";
document.getElementById('checkToggle').style.display = "none";
document.getElementById('pagination').style.display = "none";
$("span[name=buttonRow]").hide();
$(":button[name=delFromPlstButton]").hide();

Expand Down Expand Up @@ -1969,6 +1970,7 @@ function stopPreview() {

//type should be playlists or videos
function doPageList(total, type) {
if (type !== "Playlists") {
if (total > paging.size) {
var numOpt = Math.ceil(total / paging.size);
var select = document.getElementsByName("selPageN");
Expand Down Expand Up @@ -2001,6 +2003,7 @@ function doPageList(total, type) {
//If there's no page selector, move the search bar down so it doesn't stick out ofplace
document.getElementById('tdTwo').appendChild(document.getElementById('searchDiv'));
}
}
}

function changePage(num) {
Expand Down

0 comments on commit 48b94cc

Please sign in to comment.