Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -rupN WEB-INF//jsp/importPlaylist.jsp WEB-INF-gaco//jsp/importPlaylist.jsp
- --- WEB-INF//jsp/importPlaylist.jsp 2012-06-03 14:37:16.000000000 +0200
- +++ WEB-INF-gaco//jsp/importPlaylist.jsp 2012-09-06 03:43:17.000000000 +0200
- @@ -14,7 +14,7 @@
- <p>
- <fmt:message key="importPlaylist.success"><fmt:param value="${model.playlist.name}"/></fmt:message>
- <script type="text/javascript" language="javascript">
- - top.left.updatePlaylists();
- + parent.left.updatePlaylists();
- </script>
- </p>
- </c:if>
- diff -rupN WEB-INF//jsp/main.jsp WEB-INF-gaco//jsp/main.jsp
- --- WEB-INF//jsp/main.jsp 2012-09-04 17:55:26.000000000 +0200
- +++ WEB-INF-gaco//jsp/main.jsp 2012-09-06 03:43:17.000000000 +0200
- @@ -130,7 +130,7 @@
- mediaFileIds.push($("#songId" + i).html());
- }
- }
- - playlistService.appendToPlaylist(playlistId, mediaFileIds, function (){top.left.updatePlaylists();});
- + playlistService.appendToPlaylist(playlistId, mediaFileIds, function (){parent.left.updatePlaylists();});
- }
- function RefreshMediaType() {
- @@ -217,9 +217,9 @@ function RefreshMediaType() {
- <c:if test="${model.user.streamRole}">
- <c:if test="${needSep}">|</c:if>
- - <a href="#" onclick="top.playQueue.onPlay(${model.dir.id});"><fmt:message key="main.playall"/></a> |
- - <a href="#" onclick="top.playQueue.onPlayRandom(${model.dir.id}, 10);"><fmt:message key="main.playrandom"/></a> |
- - <a href="#" onclick="top.playQueue.onAdd(${model.dir.id});"><fmt:message key="main.addall"/></a>
- + <a href="#" onclick="parent.playQueue.onPlay(${model.dir.id});"><fmt:message key="main.playall"/></a> |
- + <a href="#" onclick="parent.playQueue.onPlayRandom(${model.dir.id}, 10);"><fmt:message key="main.playrandom"/></a> |
- + <a href="#" onclick="parent.playQueue.onAdd(${model.dir.id});"><fmt:message key="main.addall"/></a>
- <c:set var="needSep" value="true"/>
- </c:if>
- diff -rupN WEB-INF//jsp/playAddDownload.jsp WEB-INF-gaco//jsp/playAddDownload.jsp
- --- WEB-INF//jsp/playAddDownload.jsp 2012-09-03 22:04:20.000000000 +0200
- +++ WEB-INF-gaco//jsp/playAddDownload.jsp 2012-09-06 03:44:06.000000000 +0200
- @@ -44,13 +44,13 @@ PARAMETERS
- <c:if test="${param.asTable}"></td><td></c:if>
- </c:when>
- <c:otherwise>
- - <a href="#" onclick="top.playQueue.onPlay(${param.id});">
- + <a href="#" onclick="parent.playQueue.onPlay(${param.id});">
- <img src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" title="<fmt:message key="common.play"/>"></a>
- <c:if test="${param.asTable}"></td><td></c:if>
- <c:if test="${empty param.playAddEnabled or param.playAddEnabled}">
- - <a href="#" onclick="top.playQueue.onPlayAdd('${param.id}');">
- + <a href="#" onclick="parent.playQueue.onPlayAdd('${param.id}');">
- <img src="<spring:theme code="playAddImage"/>" alt="<fmt:message key="common.playadd"/>" title="<fmt:message key="common.playadd"/>"></a>
- </c:if>
- </c:otherwise>
- @@ -59,7 +59,7 @@ PARAMETERS
- <c:if test="${param.asTable}"><td></c:if>
- <c:if test="${(empty param.addEnabled or param.addEnabled) and not param.video}">
- - <a href="#" onclick="top.playQueue.onAdd(${param.id});">
- + <a href="#" onclick="parent.playQueue.onAdd(${param.id});">
- <img src="<spring:theme code="addImage"/>" alt="<fmt:message key="common.add"/>" title="<fmt:message key="common.add"/>"></a>
- </c:if>
- <c:if test="${param.asTable}"></td></c:if>
- diff -rupN WEB-INF//jsp/playlist.jsp WEB-INF-gaco//jsp/playlist.jsp
- --- WEB-INF//jsp/playlist.jsp 2012-08-01 17:39:32.000000000 +0200
- +++ WEB-INF-gaco//jsp/playlist.jsp 2012-09-06 03:43:17.000000000 +0200
- @@ -24,7 +24,7 @@
- var isPublic = $("#newPublic").is(":checked");
- $("#name").html(name);
- $("#comment").html(comment);
- - playlistService.updatePlaylist(playlist.id, name, comment, isPublic, function (playlistInfo){playlistCallback(playlistInfo); top.left.updatePlaylists()});
- + playlistService.updatePlaylist(playlist.id, name, comment, isPublic, function (playlistInfo){playlistCallback(playlistInfo); parent.left.updatePlaylists()});
- },
- "<fmt:message key="common.cancel"/>": function() {
- $(this).dialog("close");
- @@ -35,7 +35,7 @@
- buttons: {
- "<fmt:message key="common.delete"/>": function() {
- $(this).dialog("close");
- - playlistService.deletePlaylist(playlist.id, function (){top.left.updatePlaylists(); location = "home.view";});
- + playlistService.deletePlaylist(playlist.id, function (){parent.left.updatePlaylists(); location = "home.view";});
- },
- "<fmt:message key="common.cancel"/>": function() {
- $(this).dialog("close");
- @@ -118,19 +118,19 @@
- }
- function onPlay(index) {
- - top.playQueue.onPlay(songs[index].id);
- + parent.playQueue.onPlay(songs[index].id);
- }
- function onPlayAll() {
- - top.playQueue.onPlayPlaylist(playlist.id);
- + parent.playQueue.onPlayPlaylist(playlist.id);
- }
- function onAdd(index) {
- - top.playQueue.onAdd(songs[index].id);
- + parent.playQueue.onAdd(songs[index].id);
- }
- function onStar(index) {
- playlistService.toggleStar(playlist.id, index, playlistCallback);
- }
- function onRemove(index) {
- - playlistService.remove(playlist.id, index, function (playlistInfo){playlistCallback(playlistInfo); top.left.updatePlaylists()});
- + playlistService.remove(playlist.id, index, function (playlistInfo){playlistCallback(playlistInfo); parent.left.updatePlaylists()});
- }
- function onUp(index) {
- playlistService.up(playlist.id, index, playlistCallback);
- diff -rupN WEB-INF//jsp/playQueue.jsp WEB-INF-gaco//jsp/playQueue.jsp
- --- WEB-INF//jsp/playQueue.jsp 2012-09-04 16:55:48.000000000 +0200
- +++ WEB-INF-gaco//jsp/playQueue.jsp 2012-09-06 03:43:17.000000000 +0200
- @@ -287,7 +287,7 @@
- }
- function onSavePlaylist() {
- playQueueService.savePlaylist(function () {
- - top.left.updatePlaylists();
- + parent.left.updatePlaylists();
- $().toastmessage("showSuccessToast", "<fmt:message key="playlist.toast.saveasplaylist"/>");
- });
- }
- @@ -312,7 +312,7 @@
- }
- }
- playlistService.appendToPlaylist(playlistId, mediaFileIds, function (){
- - top.left.updatePlaylists();
- + parent.left.updatePlaylists();
- $().toastmessage("showSuccessToast", "<fmt:message key="playlist.toast.appendtoplaylist"/>");
- });
- }
- diff -rupN WEB-INF//jsp/radio.jsp WEB-INF-gaco//jsp/radio.jsp
- --- WEB-INF//jsp/radio.jsp 2012-08-07 19:59:20.000000000 +0200
- +++ WEB-INF-gaco//jsp/radio.jsp 2012-09-06 03:43:17.000000000 +0200
- @@ -79,7 +79,7 @@ function playGenreRadio() {
- var num = document.getElementsByName("GenreRadioPlayCount")[0].selectedIndex;
- var playcount = document.getElementsByName("GenreRadioPlayCount")[0].options[num].text;
- - top.playQueue.onPlayGenreRadio(genres, playcount);
- + parent.playQueue.onPlayGenreRadio(genres, playcount);
- }
- </script>
- </head>
- diff -rupN WEB-INF//jsp/top.jsp WEB-INF-gaco//jsp/top.jsp
- --- WEB-INF//jsp/top.jsp 2012-08-08 20:29:32.000000000 +0200
- +++ WEB-INF-gaco//jsp/top.jsp 2012-09-06 03:43:17.000000000 +0200
- @@ -133,7 +133,7 @@
- <td style="padding-left:15pt;text-align:center;">
- <p class="detail" style="line-height:1.5">
- - <a href="j_acegi_logout" target="_top"><img src="<spring:theme code="logoffImage"/>" title="<fmt:message key="top.logout"><fmt:param value="${model.user.username}"/></fmt:message>" alt="<fmt:message key="top.logout"><fmt:param value="${model.user.username}"/></fmt:message>"></a>
- + <a href="j_acegi_logout" target="_parent"><img src="<spring:theme code="logoffImage"/>" title="<fmt:message key="top.logout"><fmt:param value="${model.user.username}"/></fmt:message>" alt="<fmt:message key="top.logout"><fmt:param value="${model.user.username}"/></fmt:message>"></a>
- <c:if test="${not model.licensed}">
- <br>
- <a href="donate.view" target="main"><img src="<spring:theme code="donateSmallImage"/>" alt=""></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement