From f288615aa4952b957167ba7620f0d6c6bce511bc Mon Sep 17 00:00:00 2001 From: Ramon Wijnands Date: Fri, 7 Nov 2014 20:58:12 +0100 Subject: [PATCH] fix delete dialog --- client/views/playlists/playlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/views/playlists/playlist.js b/client/views/playlists/playlist.js index 38b18fe..7953bd8 100644 --- a/client/views/playlists/playlist.js +++ b/client/views/playlists/playlist.js @@ -25,7 +25,7 @@ Template.ownerPanel.onError = function () { Template.ownerPanel.beforeRemove = function () { return function (collection, id) { var doc = collection.findOne(id); - if (confirm('Really delete "' + doc.name + '"?')) { + if (confirm('Really delete "' + doc.title + '"?')) { Router.go('playlists'); this.remove(); }