Bug fix
1. Fix typo in functionsvars.js 2. Close popup menu after actions in browse pane
This commit is contained in:
parent
2440146b42
commit
647a9d9c5f
@ -8,6 +8,8 @@ function playBrowsedTracks(addtoqueue, trackid) {
|
|||||||
mopidy.playback.stop(true);
|
mopidy.playback.stop(true);
|
||||||
mopidy.tracklist.clear();
|
mopidy.tracklist.clear();
|
||||||
}
|
}
|
||||||
|
$('#popupBrowse').popup('close');
|
||||||
|
$('#controlspopup').popup('close');
|
||||||
toast('Loading...');
|
toast('Loading...');
|
||||||
|
|
||||||
trackid = typeof trackid !== 'undefined' ? trackid : $('#popupBrowse').data("track");
|
trackid = typeof trackid !== 'undefined' ? trackid : $('#popupBrowse').data("track");
|
||||||
|
|||||||
@ -289,7 +289,7 @@ function resultsToTables(results, target, uri) {
|
|||||||
html += '<li class="smalldivider"> </li>';
|
html += '<li class="smalldivider"> </li>';
|
||||||
}
|
}
|
||||||
iconClass = getMediaClass(newalbum[0].uri);
|
iconClass = getMediaClass(newalbum[0].uri);
|
||||||
var liID = targetmin + '-' + newalbum[j].uri;
|
var liID = targetmin + '-' + newalbum[0].uri;
|
||||||
if (target == CURRENT_PLAYLIST_TABLE) {
|
if (target == CURRENT_PLAYLIST_TABLE) {
|
||||||
html += '<li class="song albumli" id="' + liID + '" tlid="' + newtlids[0] + '">' +
|
html += '<li class="song albumli" id="' + liID + '" tlid="' + newtlids[0] + '">' +
|
||||||
'<a href="#" class="moreBtn" onclick="return popupTracks(event, \'' + uri + '\',\'' + newalbum[0].uri + '\',\'' + newtlids[0] + '\');">' +
|
'<a href="#" class="moreBtn" onclick="return popupTracks(event, \'' + uri + '\',\'' + newalbum[0].uri + '\',\'' + newtlids[0] + '\');">' +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user