]> git.parisson.com Git - telemeta.git/commitdiff
Fix url when remove resource playlist
authormathieu <mathieu.boye28@gmail.com>
Wed, 11 May 2016 12:27:40 +0000 (14:27 +0200)
committermathieu <mathieu.boye28@gmail.com>
Wed, 11 May 2016 12:27:40 +0000 (14:27 +0200)
telemeta/static/telemeta/js/playlist.js

index 9e53df5cc79b79704de56dd8b9b00732d62757f8..99ee41f16c02a1757089a226205fb206543e97d3 100644 (file)
@@ -116,7 +116,7 @@ var playlistUtils = {
     removeResource: function (id, range_playlist) {
         json([id, range_playlist], 'telemeta.del_playlist_resource', function (data) {
             var id = data.result;
-            window.location.pathname = '/desk/lists/open-list-' + id;
+            window.location.pathname = '/desk/lists/' + id;
         });
     },