Explorar o código

saving edited song removes ID fix

AkiraLaine %!s(int64=9) %!d(string=hai) anos
pai
achega
0ba1bbea17
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/app.js

+ 1 - 0
app/app.js

@@ -749,6 +749,7 @@ if (Meteor.isClient) {
         },
         "click #save-song-button": function() {
             var newSong = {};
+            newSong.id = $("#id").val();
             newSong.title = $("#title").val();
             newSong.artist = $("#artist").val();
             newSong.img = $("#img").val();