Explorar el Código

saving edited song removes ID fix

AkiraLaine hace 9 años
padre
commit
0ba1bbea17
Se han modificado 1 ficheros con 1 adiciones y 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();