diff --git a/server/djrandom/frontend/frontend.py b/server/djrandom/frontend/frontend.py index d07e26986a5a5a10ae47b2d8d6e09809d68ef8f6..ffc65f5112ec8e8be9f3efd990b97fa16098893c 100644 --- a/server/djrandom/frontend/frontend.py +++ b/server/djrandom/frontend/frontend.py @@ -104,6 +104,7 @@ def play_callback(sha1): def save_playlist(): hashes = request.form.get('h', '') uuid = request.form.get('uuid') + log.info('save_playlist(%s): %s' % (uuid, hashes)) if uuid == 'null': uuid = None playlist = None diff --git a/server/djrandom/frontend/static/player.js b/server/djrandom/frontend/static/player.js index f7c89bc521ded847d81527082d0a45bc2774e721..84ad215d411db9829a13aa0e7f053a20a162a9f7 100644 --- a/server/djrandom/frontend/static/player.js +++ b/server/djrandom/frontend/static/player.js @@ -78,7 +78,6 @@ djr.Player.prototype.savePlaylist = function() { $.ajax({url: '/json/playlist/save', data: {uuid: this.curPlaylistId, h: this.curPlaylist.join(',')}, - dataType: 'json', type: 'POST' }); };